toString(), $output, $code); if ($code === 0) { return new Output($output); } $output = new Output($output); throw new ShellException($output, $code); } }