Writing a simple linux daemon type thing...

Rod Haper rhaper at houston.rr.com
Fri Jun 14 15:55:31 EDT 2002


Johannes Stiehler wrote:
> The point is to completely unconnect the process from the console where it
> was started.


I use setsid to do this.  For example:


setsid myprog.py [args] &


-- 
Rod

+----------------------------------+
| Rod Haper, rhaper at houston.rr.com |
|     There is a better way ...    |
|   LAP => Linux + Ada95 + Python  |
+----------------------------------+




More information about the Python-list mailing list