From: Alex Young Date: 2011-03-25T18:58:01+09:00 Subject: Pid of the other end of a popen3? Is it possible to get the pid of a process at the other end of an IO returned by Open3.popen3? I'm doing something not dissimilar to this: Open3.popen3("other_process") do |ior, iow, ioe| otherpid = ior.pid raise "Oh no!" if otherpid.nil? end And it always raises. Looking at the source for Open3.popen3, it looks like the child pid gets swallowed by the double-fork. Is there any way to get it back? -- Alex -- Posted via http://www.ruby-forum.com/.