Capture of stdout/stderr and handling of child processes
