From: Tanaka Akira Date: 2012-06-14T20:04:02+09:00 Subject: Re: nil exitstatus 2012/6/14 James French : > > With the following code (1.9.3-p125) I very occasionally find that @exitCode > is nil... > Open3.popen3(@environment, @command, options) do |stdin, stdout, stderr, > wait_thr| > > ... > > @exitCode = wait_thr.value.exitstatus signal? % ruby -ropen3 -ve ' Open3.popen3("sleep 1") {|i, o, e, w| Process.kill :TERM, w.pid p w.value.exitstatus p w.value }' ruby 2.0.0dev (2012-03-16 trunk 35049) [x86_64-linux] nil # -- Tanaka Akira