[Tutor] Process problem

Michael P. Reilly arcege at gmail.com
Thu Jun 16 15:18:51 CEST 2005

On 6/16/05, Alberto Troiano <albertito_g at hotmail.com> wrote:
> Hey all
> Nevermind, it worked with the & trick.
> I just posted because the first 2 times didn't do anything but there was 
> an
> error in the crontab so...


If you are going to use put the processes in the background with the 
ampersand ('&'), then you probably want to use 'nohup' as well in the 
os.system() call:
os.system("nohup %s >/dev/null 2>&1 &" % cmd)
This may save some headaches later.

There's so many different worlds,
So many different suns.
And we have just one world,
But we live in different ones.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20050616/2226337b/attachment.htm

More information about the Tutor mailing list