public function format(Process $process) { $output = $process->getOutput(); if (!$output) { return $process->getErrorOutput(); } if (!$this->IO->isDecorated()) { return $output; } return $this->formatOutput($output); }