capture stderr as well

This commit is contained in:
David Dollar
2012-01-17 22:20:25 -05:00
parent 2bfc065c1d
commit d961a32cfe
+1
View File
@@ -32,6 +32,7 @@ private
pid = fork do
trap("INT", "IGNORE")
$stdout.reopen writer
$stderr.reopen writer
reader.close
exec Foreman.runner, replace_command_env(command)
end