From: Joel VanderWerf Date: 2009-09-02T06:59:52+09:00 Subject: Re: Process#poll Roger Pack wrote: > Question. > > Situation: > I want to start a process, then loop, checking for its status, so that I > can "know" when it finishes, and not block the Tk.mainloop. > > Anybody know how to determine runningness of a process in ruby? > Thanks! Don't the Process.wait family of methods do what you want? Maybe: Process.waitpid(pid, Process::WNOHANG) -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407