- Version of Ruby you're using (ruby -v)
- Open3 gem (if used, which one) and version
- Command that is being sent to Open3
- What is the output when status is nil?
Ruby back in 1.8.6 used to return nil for $? (process exit status)
when it failed to execute some commands. Back then Rake used to report
that exitstatus didn't exist in NilClass, which was true.
Perhaps this is a similar one, in which case we need the above details.
Looking forward your comments.
Sorry for top posting. Sent from mobile.
On May 3, 2012 4:26 PM, "Thibaut Barrère" <thibaut...@gmail.com> wrote:
>
> Hello Luis,
>
> here are more details:
>
>>
>> - Version of Ruby you're using (ruby -v)
>
>
> ruby 1.9.3p125 (2012-02-16) [i386-mingw32]
>
>>
>> - Open3 gem (if used, which one) and version
>
>
> I am just using the built-in "require 'open3'" without a specific gem (should I be using a gem instead?).
>
Actually of you're using 1.9.3 in production, see if you can use Process.spawn instead.
> I am just using the built-in "require 'open3'" without a specific gem (should I be using a gem instead?).
Actually of you're using 1.9.3 in production, see if you can use Process.spawn instead.