Apparently the map didn't work on Leopard

This commit is contained in:
Max Howell 2009-12-04 17:48:07 +00:00
parent 6c123b176d
commit ba1c0af94c

View File

@ -88,7 +88,8 @@ end
def safe_system cmd, *args
puts "#{cmd} #{args*' '}" if ARGV.verbose?
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
end
Process.wait