Deployer\Server\Remote\SshExtension::run PHP Method

run() public method

public run ( $command )
    public function run($command)
    {
        $this->checkConnection();
        $pty = $this->getConfiguration()->getSsh2Pty();
        return $this->session->getExec()->run($command, $pty);
    }