[Python-checkins] CVS: python/dist/src/Doc/lib libos.tex,1.63,1.64 libpopen2.tex,1.14,1.15

Tim Peters tim@zope.com
Tue, 11 Sep 2001 16:06:35 -0400

[Fred L. Drake]
> + These methods do not make it possible to retrieve the return code from
> + the child processes.  The only way to control the input and output
> + streams and also retrieve the return codes is to use the
> + \class{Popen3} and \class{Popen4} classes from the \refmodule{popen2}
> + module; these are only available on \UNIX.

I'm not sure that's true, but don't know.  Mark Hammond seemed to believe
you can get them on Windows (and also Unix?) from the value returned by
e.close() where e is the stderr object returned by these functions (in
analogy with how plain popen works).