<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>&gt;&gt;Hello,<BR>&gt;&gt;<BR>&gt;&gt;How can a make a python script run in "deamon mode"? (on a linux box)<BR>&gt;&gt;<BR>&gt;&gt;That is, I want to run the program via "python myfile.py" and have it drop me back to the command line.&nbsp; The program should continue running until I kill it via it's PID, the machine shuts &gt;&gt;down, or the program itself decides to shutdown.&nbsp;&nbsp; It should _not_&nbsp; die when I simply log-out, etc.<BR>&gt;&gt;&nbsp;<BR>&gt;&gt;Is there a standard library module to help with this?<BR>&gt;&gt;<BR>&gt;&gt;-- Thank you<BR>&nbsp;<BR>I have read through the rest of the replies for this problem and was wondering if something similar could be done in Windows (XP).<BR>Unfortunately it seems the Linux and Windows os and sys&nbsp;modules differ too much&nbsp;so the suggested approach does not work.<BR>&nbsp;<BR>Any help would be greatly appreciated<BR><br /><hr />Messenger on the move. <a href='http://mobile.uk.msn.com/pc/messenger.aspx ' target='_new'>Text MSN to 63463 now!</a></body>
</html>