popen and exit code on Windows

iker.arizmendi at gmail.com iker.arizmendi at gmail.com
Mon Mar 6 14:38:51 EST 2006


On UNIX one can use popen* to get a pipe for reading, a pipe for
writing, and the exit code of the child process via a call to close()
on the last pipe. Is there any way, in principle, to simulate such
behaviour on Windows? Some googling reveals that direct use of the
popen* functions on Windows will not do the trick, but are there
indirect ways?

Regards,
Iker




More information about the Python-list mailing list