Hi,<br><br>A few days ago, someone posted a &quot;daemon.py&quot; to Reddit, that&#39;s supposed to do everything needed. Haven&#39;t used it myself, but here it is: <a href="http://hathawaymix.org/Software/Sketches/daemon.py">
http://hathawaymix.org/Software/Sketches/daemon.py</a><br><br>Remco<br><br><div class="gmail_quote">On Jan 10, 2008 6:41 AM, Allen Fowler &lt;<a href="mailto:allen.fowler@yahoo.com">allen.fowler@yahoo.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br><br>How can a make a python script run in &quot;deamon mode&quot;? (on a linux box)
<br><br>That is, I want to run the program via &quot;python myfile.py&quot; and have it drop me back to the command line. &nbsp;The program should continue running until I kill it via it&#39;s PID, the machine shuts down, or the program itself decides to shutdown. &nbsp; It should _not_ &nbsp;die when I simply log-out, etc.
<br><br>Is there a standard library module to help with this?<br><br>-- Thank you<br><div class="WgoR0d"><br><br><br><br><br> &nbsp; &nbsp; &nbsp;____________________________________________________________________________________<br>Looking for last minute shopping deals?
<br>Find them fast with Yahoo! Search. &nbsp;<a href="http://tools.search.yahoo.com/newsearch/category.php?category=shopping" target="_blank">http://tools.search.yahoo.com/newsearch/category.php?category=shopping</a><br><br>_______________________________________________
<br>Tutor maillist &nbsp;- &nbsp;<a href="mailto:Tutor@python.org">Tutor@python.org</a><br><a href="http://mail.python.org/mailman/listinfo/tutor" target="_blank">http://mail.python.org/mailman/listinfo/tutor</a><br></div></blockquote>
</div><br>