2010/6/26 Roger Pack <rogerpack2005 / gmail.com>:

> IO.popen("ls") # what's the PID?

Use IO#pid.

> r,w,e,thread =  Open3.popen3("ls") # what's the PID?

Use thread.pid.
-- 
Tanaka Akira