Closing pipes
Tom Chance
tomchance at gmx.net
Sun Mar 16 17:35:12 EST 2003
> Ah, brilliant, I've got Popen3 working, and I can get the pid. But for
> some reason I can't kill the process! I've tried doing "kill(pid,
> signal.SIGKILL)" and "kill(pid, 0)", but neither work. I've tried closing
> the pipe first with "child.fromchild.close()", and then killing, and that
> doesn't work either. Kill just fails to kill the process.
>
> Is there any reason/solution for this?
Oh no, ignore me, it was killing the processes, and just leaving zombies in
the process table which I've cleanedup with os.waitpid()
:)
Tom
More information about the Python-list
mailing list