Then how does fetchmail do that ? On Tue, Aug 13, 2002 at 09:16:29PM +0200, Eliran wrote:
> import os > childpid = os.fork > if (childpid == 0): > child_stuff() > else: > os.exit() You definitely have to keep it somewhere outside the program, then. /var/run/foo/pid comes to mind as a reasonably place (assuming you have permission to write there). -- "Hmm.. Cache shrink failed - time to kill something? Mhwahahhaha! This is the part I really like. Giggle." -- linux/mm/vmscan.c http://vipe.technion.ac.il/~mulix/ http://syscalltrack.sf.net ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]