Kill forked processes

kmkz kmkz89 at gmail.com
Sun Feb 26 16:45:51 EST 2006


Hi,

I have a program A that forks off two other programs, B and C. I need B
and C to both terminate if A is closed, but by using the
subprocess.call() method this seems to not be the case; I can shut down
the "black box" that is program A and B/C will still stay up.

How can I achieve the desired behavior?

Thanks,
Evan




More information about the Python-list mailing list