Re: Kill forked processes

2006-02-27 Thread kmkz
I didn't mean that you'd have to write it for me, I meant that if what you said works (atexit, signal) I will paypal you $10 for your generous contribution to my project. -- http://mail.python.org/mailman/listinfo/python-list

Re: Kill forked processes

2006-02-26 Thread Steve Juranich
kmkz wrote: > Lets say my script A executes two other scripts, B and C. B is a Python > file compiled into an exe and uses the regular black box. C, however, > is a C++ program that I did not write, and have no access to (besides > executing it. ie, i don't have its source). I would like to fork o

Re: Kill forked processes

2006-02-26 Thread kmkz
Thank you for your reply. I will certainly look into those. Another question: Lets say my script A executes two other scripts, B and C. B is a Python file compiled into an exe and uses the regular black box. C, however, is a C++ program that I did not write, and have no access to (besides executi

Re: Kill forked processes

2006-02-26 Thread Steve Juranich
kmkz wrote: > 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

Kill forked processes

2006-02-26 Thread kmkz
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