features/support/env.rb in spork-0.5.4 vs features/support/env.rb in spork-0.5.5
- old
+ new
@@ -51,10 +51,9 @@
child_stdin, parent_stdin = IO::pipe
parent_stdout, child_stdout = IO::pipe
parent_stderr, child_stderr = IO::pipe
background_jobs << Kernel.fork do
- # grandchild
[parent_stdin, parent_stdout, parent_stderr].each { |io| io.close }
STDIN.reopen(child_stdin)
STDOUT.reopen(child_stdout)
STDERR.reopen(child_stderr)