Permalink
Browse files

In subprocess, exit rather than throwing

This avoids printing the stacktrace in the subprocess
  • Loading branch information...
1 parent 57847ea commit 84b28472802a1551c1e2cd16470c232490606e80 @gdb committed Jan 10, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rubysh/subprocess.rb
View
@@ -134,7 +134,7 @@ def exec_program
@exec_status.dump_json_and_close(msg)
# Note: atexit handlers will fire in this case. May want to do
# something about that.
- raise
+ exit(1)
end
end

0 comments on commit 84b2847

Please sign in to comment.