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

Attachment: pgpwXZAww91hx.pgp
Description: PGP signature

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to