J
Jared Davis
Hi,
I'm looking for a way to forcibly terminate a process started with a
pipe. That is, when I run:
file = IO.popen("sleep 300", "r+")
file.close
The file.close command just hangs and waits for the sleep command to
finish. Is there some way I can instead say, "I don't care if it's
finished or not, kill the program now and close the pipe"?
Thanks,
Jared
I'm looking for a way to forcibly terminate a process started with a
pipe. That is, when I run:
file = IO.popen("sleep 300", "r+")
file.close
The file.close command just hangs and waits for the sleep command to
finish. Is there some way I can instead say, "I don't care if it's
finished or not, kill the program now and close the pipe"?
Thanks,
Jared