[Subprocess/Windows] subprocess module under Windows 98
lists at andreas-jung.com
Wed Nov 2 17:32:23 CET 2005
I am using subprocess.Popen() to start Java processes (converters) from
within Zope under Windows 98 (sorry, we have to support the platform). The
call looks like this:
P = Popen('java.exe arguments...', stdout=PIPE, stderr=PIPE,
stdin=open('nul:') is required to make Popen() actually running under
Windows 98 (stdin=None works fine on XP).
However for every Popen() call Windows 98 opens an empty DOS box that
disappear after completion of the converter process. The Popen() has some
'startupinfo' and 'creationflags' attributes but I could not find any
documentation. Is there a way to suppress the DOS boxes somehow using these
attributes or is there another way to get rid of them?
Thanks in advance,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 193 bytes
Desc: not available
More information about the Python-list