Re: sending signals to child process

2005-04-08 Thread Sarir Khamsi
"Diez B. Roggisch" <[EMAIL PROTECTED]> writes: > Sarir Khamsi wrote: > >> I would like to start a child process (like w/ popen3(), or some such) >> and then be able to interrupt it by sending it a control-c. How do I >> do that in Python? Is there a better way to gracefully halt a child > > Use os

Re: sending signals to child process

2005-04-08 Thread Diez B. Roggisch
Sarir Khamsi wrote: > I would like to start a child process (like w/ popen3(), or some such) > and then be able to interrupt it by sending it a control-c. How do I > do that in Python? Is there a better way to gracefully halt a child Use os.kill and the signal module. > process? Is there a more

sending signals to child process

2005-04-08 Thread Sarir Khamsi
I would like to start a child process (like w/ popen3(), or some such) and then be able to interrupt it by sending it a control-c. How do I do that in Python? Is there a better way to gracefully halt a child process? Is there a more cross-platform way to start a child process (popen() is only on UN