On Fri, Jan 18, 2008 at 07:56:34PM +0900, Robert Klemme wrote: >2008/1/18, Deadolus <deadolus / gmail.com>: >> ... >> I read about multithreading, IO.popen would be perfect, but how can I >> kill iperf when I want to quit, before iperf ran out of time? > ... > > About the killing I am not sure. With a quick check I did not find > a proper way to get the PID of the child process with IO.popen. If > ... It's a little hard to find until you already know where it is, but IO#pid might come in handy here :) -- Stephen Lewis