subprocess leaves child living

Thomas Dybdahl Ahle lobais at gmail.com
Tue Jun 5 23:17:47 CEST 2007


Den Tue, 05 Jun 2007 15:46:39 -0500 skrev Michael Bentley:

> But actually *that* is an orphan process.  When a parent process dies
> and the child continues to run, the child becomes an orphan and is
> adopted by init.  Orphan processes can be cleaned up on most Unices with
> 'init q' (or something very similar).

Is it not possible to tell python that this process should not be adopted 
by init, but die with its parrent?
Just like terminals seem to do it..



More information about the Python-list mailing list