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