Capture stdout/stderr on start