fn collectOutput(child: ChildProcess, stdout: *field_call, stderr: *field_call, max_output_bytes: usize) !void
[src]
Collect the output from the process’s stdout and stderr. Will return once all output has been collected. This does not mean that the process has ended. wait
should still be called to wait for and clean up the process.
The process must be started with stdout_behavior and stderr_behavior == .Pipe