exit status from a pipe

user at domain.invalid user at domain.invalid
Thu Oct 30 05:19:22 EST 2003


How can I get the exit status from a "popen2" pipe?
For example, from

     child_stdout, child_stdin, child_stderr = popen2.popen3(command)

how can I tell what the exit status it?
Want to find out if a command actuall succeeded.





More information about the Python-list mailing list