services

Peter Hansen peter at engcorp.com
Fri Mar 19 14:18:39 CET 2004


John Hazen wrote:

> try:
> 
> % nohup file.py &
> 
> It redirects the output (and stderr) to ./nohup.out, and prevents the
> HUP signal from being sent to the process when you log out.

Interesting!

Note, from "info nohup", that it reduces the process' priority (i.e. 
increases the priority value by 5), and can in some cases not actually 
run the command at all.

Still, another interesting tidbit for the toolbox.

-Peter



More information about the Python-list mailing list