コード例 #1
0
ファイル: Local.php プロジェクト: grrr-amsterdam/garp3
 /**
  * @param Garp_Shell_Command_Protocol $command Shell command
  */
 public function shellExec(Garp_Shell_Command_Protocol $command)
 {
     return $command->executeLocally();
 }
コード例 #2
0
ファイル: Remote.php プロジェクト: grrr-amsterdam/garp3
 /**
  * @param Garp_Shell_Command_Protocol $command Shell command
  */
 public function shellExec(Garp_Shell_Command_Protocol $command)
 {
     $session = $this->getSession();
     return $command->executeRemotely($session);
 }