Launching a subprocess without waiting around for the result?

Marco Bizzarri marco.bizzarri at
Fri Sep 19 22:57:16 CEST 2008

On Fri, Sep 19, 2008 at 10:48 PM, Almar Klein <almar.klein at> wrote:
>> Ah, no, that's a different thing. If the parent exits, the child will
>> also be killed I believe.
> Not if it's stuck in some endless loop...
>> If you want to spawn a process and have it live on independent of the
>> parent, you want to make the child process a "daemon", detatching
>> itself from the parent's environment. I don't recall how that's done
>> immediately, but those are the terms to search for.
> I'm curious how this can be done, does anyone know this?
> Almar
> --

First result in "making a daemon in python with google":

(not tested)

Marco Bizzarri

More information about the Python-list mailing list