Example #1
0
 /**
  * @param Garp_Shell_Command_Protocol $command Shell command
  */
 public function shellExec(Garp_Shell_Command_Protocol $command)
 {
     return $command->executeLocally();
 }
Example #2
0
 /**
  * @param Garp_Shell_Command_Protocol $command Shell command
  */
 public function shellExec(Garp_Shell_Command_Protocol $command)
 {
     $session = $this->getSession();
     return $command->executeRemotely($session);
 }