On 30Jul2010 15:09, Ray <[email protected]> wrote:
| On Jul 30, 6:03 pm, Ray <[email protected]> wrote:
| > I'm running python 2.4 on linux. I use python os.fork run tcpdump, but
| > after I kill the forked process (tcpdump) in linux it shows defunct
[...]
| > after I call kill() it will kill tcpdump (capture will stop) but on
| > linux, ps shows tcpdump as defunct process
| > what am I missing?
| > thanks for any help.
| 
| I think I found it. need to call os.wait()

Yep. "defunct" == "zombie". See:

  http://code.activestate.com/lists/python-list/580569/

Cheers,
-- 
Cameron Simpson <[email protected]> DoD#743
http://www.cskk.ezoshosting.com/cs/

Talk is the bastard redheaded stepchild of email and the telephone.
        - Geoff Miller, [email protected]
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to