Skip to content

Commit

Permalink
capture stderr as well
Browse files Browse the repository at this point in the history
  • Loading branch information
ddollar committed Jan 18, 2012
1 parent 2bfc065 commit d961a32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/foreman/process.rb
Expand Up @@ -32,6 +32,7 @@ def fork_with_io(command)
pid = fork do
trap("INT", "IGNORE")
$stdout.reopen writer
$stderr.reopen writer
reader.close
exec Foreman.runner, replace_command_env(command)
end
Expand Down

0 comments on commit d961a32

Please sign in to comment.