Redirect both stdout and stderr of a process to a single file