Difference between revisions of "Daemonize Python"

From Noah.org
Jump to navigationJump to search
Line 2: Line 2:
 
[[Category:Python]]
 
[[Category:Python]]
 
[[Category:Free_Software]]
 
[[Category:Free_Software]]
== Python Daemonize source ==
+
This short module shows the correct way to create a UNIX daemon process in Python. Creating a proper UNIX daemon is not as trivial as it sounds.
 
 
This short module shows the correct way to create a UNIX daemon process in Python. Creating a proper UNIX daemon is not as trivial as it sounds; although, some UNIX variants have system calls specifically for creating a daemon process.
 
  
 +
[http://www.noah.org/downloadsvn.php?src=file:///home/svn/src/python/daemonize.py" daemonize.py]
 
<include svncat src="file:///home/svn/src/python/daemonize.py" highlight="python" />
 
<include svncat src="file:///home/svn/src/python/daemonize.py" highlight="python" />

Revision as of 12:55, 7 December 2007

This short module shows the correct way to create a UNIX daemon process in Python. Creating a proper UNIX daemon is not as trivial as it sounds.

" daemonize.py <include svncat src="file:///home/svn/src/python/daemonize.py" highlight="python" />