autobuild 1.7.6 → 1.7.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/autobuild/subcommand.rb +3 -4
- data/lib/autobuild/version.rb +1 -1
- metadata +1 -1
data/lib/autobuild/subcommand.rb
CHANGED
@@ -258,11 +258,10 @@ module Autobuild::Subprocess
|
|
258
258
|
$stdin.reopen(pread)
|
259
259
|
end
|
260
260
|
|
261
|
-
if RUBY_VERSION
|
262
|
-
|
263
|
-
else
|
264
|
-
exec(*command, :close_others => false)
|
261
|
+
if RUBY_VERSION > "1.8"
|
262
|
+
command << Hash[:close_others => false]
|
265
263
|
end
|
264
|
+
exec(*command)
|
266
265
|
rescue Errno::ENOENT
|
267
266
|
cwrite.write([CONTROL_COMMAND_NOT_FOUND].pack('I'))
|
268
267
|
exit(100)
|
data/lib/autobuild/version.rb
CHANGED