Permalink
Browse files

Attempt to fix #23

  • Loading branch information...
1 parent 5fd37aa commit f93963d3ac0ce4d261a297090c2de8e1cae9fe5f @jyurek jyurek committed Sep 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/cocaine/command_line/runners/process_runner.rb
@@ -5,7 +5,7 @@ class ProcessRunner
def call(command, env = {})
input, output = IO.pipe
- pid = spawn(env, command, :out => output)
+ pid = spawn(env, command, :out => output, :close_others => false)
waitpid(pid)
output.close
input.read

0 comments on commit f93963d

Please sign in to comment.