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:
parent
113a4b489c
commit
cd2c8e2fb5
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue