Getting return value in os.system rsh call

Andrew migmog99 at hotmail.com
Wed Jan 29 19:33:39 CET 2003


I'm writing a test script which kicks off tests on remote machines,
and I need to get the return code from the remote test in my main
program.

the relevent bit is

os.system("rsh remote test.py")

How can I get the return value of test.py?

any ideas?

cheers
Andrew




More information about the Python-list mailing list