popen3(*cmd, &block)
Class Public methods
Open stdin, stdout, and stderr streams and start external executable. In
addition, a thread for waiting the started process is noticed. The thread
has a pid method and thread variable :pid which is the pid of the started
process.
Block form:
Open3.popen3([env,] cmd... [, opts]) {|stdin, stdout, stderr, wait_thr|
pid = wait_thr.pid # pid of the started process.
...
exit_status = wait_thr.value # Process::Status object returned.
}
N