daemon dies on xterm kill
Chris Liechti
cliechti at gmx.net
Wed May 29 20:10:06 EDT 2002
John Hunter <jdhunter at nitace.bsd.uchicago.edu> wrote in
news:m2ptzeedd7.fsf at video.paradise.lost:
> I am trying to write an xmlrpc server daemon. When I 'exit' the xterm
> that I launch the daemon in, the exit never completes and I still get
> output from the server about connection attempts, though I lose my
> prompt. This occurs whether I launch the program w/ or w/o nohup in
> the background. I am trying to launch it as a regular user, not
> root. Is there something wrong with my daemon code or the way I am
> launching it:
[snip]
yes, i think you're missing the double-fork.
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66012
chris
--
Chris <cliechti at gmx.net>
More information about the Python-list
mailing list