Re: capturing system exit status

2007-04-01 Thread Michael Hoffman
oscartheduck wrote: > in a program I'm writing I have several commands I pass to the unix OS > underneath the code. > > I want to perform error checking to make sure that the OS commands' > exit gracefully, but I'm not seeing a simple python module to do this. If you're using Python 2.5, you can

capturing system exit status

2007-04-01 Thread oscartheduck
Hi folks, in a program I'm writing I have several commands I pass to the unix OS underneath the code. I want to perform error checking to make sure that the OS commands' exit gracefully, but I'm not seeing a simple python module to do this. The closest I can see is system(), as detailed here: htt

capturing system exit status

2007-04-01 Thread James
Hi folks, in a program I'm writing I have several commands I pass to the unix OS underneath the code. I want to perform error checking to make sure that the OS commands' exit gracefully, but I'm not seeing a simple python module to do this. The closest I can see is system(), as detailed here: ht