[Subprocess/Windows] subprocess module under Windows 98
Andreas Jung
lists at andreas-jung.com
Wed Nov 2 11:32:23 EST 2005
Hi,
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:')).
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,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 193 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20051102/457f1c1a/attachment.sig>
More information about the Python-list
mailing list