예제 #1
0
 /**
  * @param Garp_Shell_Command_Protocol $command Shell command
  */
 public function shellExec(Garp_Shell_Command_Protocol $command)
 {
     return $command->executeLocally();
 }
예제 #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);
 }