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
1 changed files with 1 additions and 1 deletions

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