[Checkins] SVN: zc.buildout/trunk/ Switched from using os.popen* to subprocess.Popen

Adam GROSZER agroszer at gmail.com
Mon Mar 23 07:52:00 EDT 2009


Hello Tres,

Might be that it works with 2.6? on 2.4 it definitely raises an
exception.

Monday, March 23, 2009, 12:12:43 PM, you wrote:

TS> -----BEGIN PGP SIGNED MESSAGE-----
TS> Hash: SHA1

TS> Adam GROSZER wrote:

>> close_fds=True is not supported on win32.

TS> I see that described here:

TS> http://docs.python.org/library/subprocess.html#using-the-subprocess-module

TS> I thought somebody else already took out the 'close_fds' bit.

>> The biggest problem is that after making it False on win32 still
>> breaks seemingly all doctests using system().
>> The output seemingly matches exactly the expected output, but the
>> tests burps on it.

TS> Sorry, no clue.


TS> Tres.


-- 
Best regards,
 Adam GROSZER                            mailto:agroszer at gmail.com
--
Quote of the day:
You may have to fight a battle more than once to win it. 
- Margaret Thatcher 



More information about the Checkins mailing list