private function getStdErr() { if ($this->getLogPath() !== null) { return "2>> " . $this->getLogPath() . "/stderr.log"; } return "2> /dev/null"; }