Exemplo n.º 1
0
 protected function _exec()
 {
     $cmd = $this->_getCmd();
     $utilHelper = $this->_runner->getUtilHelper();
     $utilHelper->exec($cmd);
     $out = $utilHelper->getExecOutput();
     $returnvar = $utilHelper->getExecReturnvar();
     if ($returnvar !== 0 && $returnvar !== 1 && $returnvar !== 2) {
         return array(false, $returnvar, $cmd, $out);
     } else {
         return $this->_verifySuccessfulRun($cmd, $out, $returnvar);
     }
 }
Exemplo n.º 2
0
 protected function _initDirectories()
 {
     return $this->_runner->getUtilHelper()->softMkdir($this->getOutputPath() . '/screenshots') && $this->_runner->getUtilHelper()->softMkdir($this->getOutputPath() . '/dump') && $this->_runner->getUtilHelper()->softMkdir($this->getOutputPath() . '/logs') && $this->_runner->getUtilHelper()->softMkdir($this->getOutputPath() . '/tmp');
 }