direct stdout/stderr to parent process

Emulate how Process.fork handles $stdout and $stderr.