Ack! Zombie processes won't die!

Brian ThisIsNotMyReal at ddress.com
Wed Dec 22 16:37:18 CET 2004


>From one script, I'm spawnv'ing another that will launch mpg123 to play a 
specified mp3.  Problem is that After the second script has launched 
mpg123, it'll turn into a zombie process.  It doesn't happen when I launch 
it from the command line, so there's something wrong with the way I'm 
calling it (I believe).

mp3pid = os.spawnv(os.P_NOWAIT, "/oter/playfile.py", ["playfile", filename, 
"0"])

Shouldn't this launch the script without waiting for it to finish?



More information about the Python-list mailing list