Author barry-scott
Recipients
Date 2002-09-12.22:03:35
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
The documentation for os.popen[234] states that the close
will 
return the rc of the process. This works well on
windows, but the 
unix code does not work, None is
returned.

The 
attached version of popen2.py fixes the problem
by wrapping 
the fromchild fd with an object that
implements the 
documented close() behaviour.

I have also extended the 
test() to cover testing the
rc and run on FreeBSD against 
2.2.1
History
Date User Action Args
2007-08-23 14:05:46adminlinkissue608635 messages
2007-08-23 14:05:46admincreate