Compare commits

...
3 Commits
Author SHA1 Message Date
David Dollar a73dce5405 0.36.0 2012-01-17 22:21:36 -05:00
David Dollar 2abddb42b3 sync the writer stream 2012-01-17 22:21:16 -05:00
David Dollar d961a32cfe capture stderr as well 2012-01-17 22:20:25 -05:00
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
PATH PATH
remote: . remote: .
specs: specs:
foreman (0.35.0) foreman (0.36.0)
term-ansicolor (~> 1.0.5) term-ansicolor (~> 1.0.5)
thor (>= 0.13.6) thor (>= 0.13.6)
+2
View File
@@ -31,7 +31,9 @@ private
reader, writer = IO.pipe reader, writer = IO.pipe
pid = fork do pid = fork do
trap("INT", "IGNORE") trap("INT", "IGNORE")
writer.sync = true
$stdout.reopen writer $stdout.reopen writer
$stderr.reopen writer
reader.close reader.close
exec Foreman.runner, replace_command_env(command) exec Foreman.runner, replace_command_env(command)
end end
+1 -1
View File
@@ -1,5 +1,5 @@
module Foreman module Foreman
VERSION = "0.35.0" VERSION = "0.36.0"
end end