Issue1100
Created on 2008-08-06.08:54:03 by ok4rm, last changed 2015-01-28.02:56:17 by zyasoft.
File name |
Uploaded |
Description |
Edit |
Remove |
Convert.py
|
ok4rm,
2008-08-06.08:54:03
|
A piece of program to demonstrate the bug |
|
|
msg3407 (view) |
Author: Jindra Vavruska (ok4rm) |
Date: 2008-08-06.08:54:03 |
|
When trying to call spawnv, it returns this error at line 12 (see
enclosed file):
AttributeError: class 'org.python.modules.os' has no attribute 'P_WAIT'
sys.version returns '2.2.1'
|
msg3408 (view) |
Author: Jindra Vavruska (ok4rm) |
Date: 2008-08-07.17:14:19 |
|
Hello,
only after another test, in which I replaced P_WAIT by an integer
constant (e.g. 0) I realized how stupid I was because jython has no
spawnXY functions.
I guess you will want to discard this issue.
Rgds, Jindra
|
msg3540 (view) |
Author: Brian Rosner (brosner) |
Date: 2008-09-13.22:02:01 |
|
Here is a list of objects that exists in CPython on Windows, but not in
Jython on Windows.
['O_BINARY', 'O_NOINHERIT', 'O_RANDOM', 'O_SEQUENTIAL', 'O_SHORT_LIVED',
'O_TEMPORARY', 'O_TEXT', 'P_DETACH', 'P_NOWAIT', 'P_NOWAITO',
'P_OVERLAY', 'P_WAIT', 'TMP_MAX', '__builtins__', '_copy_reg',
'_execvpe', '_exists', '_get_exports_list', '_make_stat_result',
'_make_statvfs_result', '_pickle_stat_result', '_pickle_statvfs_result',
'abort', 'dup', 'dup2', 'execl', 'execle', 'execlp', 'execlpe', 'execv',
'execve', 'execvp', 'execvpe', 'fstat', 'fsync', 'getcwdu', 'pipe',
'spawnl', 'spawnle', 'spawnv', 'spawnve', 'startfile',
'stat_float_times', 'statvfs_result', 'tempnam', 'times', 'tmpfile',
'tmpnam', 'umask', 'waitpid']
|
msg4194 (view) |
Author: Jim Baker (zyasoft) |
Date: 2009-03-08.06:53:31 |
|
As a workaround, would it be possible to support the spawn family of
functions completely with the recipes provided in
http://docs.python.org/library/subprocess.html#module-subprocess ?
|
msg9456 (view) |
Author: Jim Baker (zyasoft) |
Date: 2015-01-28.02:56:17 |
|
Should use JNR Posix support here - https://github.com/jnr/jnr-posix/blob/master/src/main/java/jnr/posix/LazyPOSIX.java#L344
|
|
Date |
User |
Action |
Args |
2015-01-28 02:56:17 | zyasoft | set | messages:
+ msg9456 |
2013-02-19 18:28:14 | fwierzbicki | set | nosy:
+ fwierzbicki versions:
+ Jython 2.2, - 2.2.2 |
2009-03-14 14:10:42 | fwierzbicki | set | priority: low versions:
+ 2.2.2, - 2.2.1rc1 |
2009-03-08 06:53:32 | zyasoft | set | nosy:
+ zyasoft messages:
+ msg4194 title: Missing constant os.P_WAIT -> Missing suport for os.spawn* and related constant os.P_WAIT |
2008-09-13 22:02:01 | brosner | set | nosy:
+ brosner messages:
+ msg3540 |
2008-08-07 17:14:20 | ok4rm | set | messages:
+ msg3408 |
2008-08-06 08:54:03 | ok4rm | create | |
|