1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

improved error message for system commands that return with error -- cant just assume command doenst exist, instead say that a problem occurred

This commit is contained in:
John Mair 2011-04-24 12:26:59 +12:00
parent 113a4b489c
commit cd2c8e2fb5

View file

@ -76,7 +76,7 @@ class Pry
end
else
if !system(cmd)
output.puts "Error: could not execute system command #{cmd}"
output.puts "Error: there was a problem executing system command: #{cmd}"
end
end