lib/autobuild/subcommand.rb in autobuild-1.7.7 vs lib/autobuild/subcommand.rb in autobuild-1.7.8
- old
+ new
@@ -256,10 +256,10 @@
if !input_streams.empty?
pwrite.close
$stdin.reopen(pread)
end
- if RUBY_VERSION > "1.8"
+ if RUBY_VERSION >= "1.9"
command << Hash[:close_others => false]
end
exec(*command)
rescue Errno::ENOENT
cwrite.write([CONTROL_COMMAND_NOT_FOUND].pack('I'))