Apparently the map didn't work on Leopard
This commit is contained in:
parent
6c123b176d
commit
ba1c0af94c
@ -88,7 +88,8 @@ end
|
|||||||
def safe_system cmd, *args
|
def safe_system cmd, *args
|
||||||
puts "#{cmd} #{args*' '}" if ARGV.verbose?
|
puts "#{cmd} #{args*' '}" if ARGV.verbose?
|
||||||
fork do
|
fork do
|
||||||
exec(cmd, *args.map(&:to_s)) rescue nil
|
args.collect!{|arg| arg.to_s}
|
||||||
|
exec(cmd, *args) rescue nil
|
||||||
exit! 1 # never gets here unless exec failed
|
exit! 1 # never gets here unless exec failed
|
||||||
end
|
end
|
||||||
Process.wait
|
Process.wait
|
||||||
|
Loading…
x
Reference in New Issue
Block a user