Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

get return code when called program exits

Status
Not open for further replies.

dans45

Technical User
Feb 13, 2003
43
0
0
US
Hello
I have one program that calls another via os.system(2nsprogram). Problem is that the 2nd program on error executes os.exit(1). The calling program stops running also. How can I get the exit code back to the calling program. Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top