From: nobu.nokada@... Date: 2004-04-28T16:43:35+09:00 Subject: Re: popen, popen3, and leftover processes Hi, At Wed, 28 Apr 2004 16:08:58 +0900, Hal Fulton wrote in [ruby-talk:98616]: > > No need for a pid > > > > Process.wait > > Hmm, but I don't want to wait for it. I want to make sure the process > dies. I think io.pid may be the way to go. You don't need to wait for IO.popen, popen'ed IO waits the child process at close. However, popen3 spawns child and grand-child process which the command is executed as, so you cannot wait the real command. This restriction is to get rid of leaving a zombie process. -- Nobu Nakada