src/SSHClient.php
public function exec($command, $pty = NULL, $env = array(), $width = 80, $height = 25, $width_height_type = SSH2_TERM_UNIT_CHARS)
	{
		return ssh2_exec($this->_conn_link, $command);
	}
public function exec($command, $pty = NULL, $env = array(), $width = 80, $height = 25, $width_height_type = SSH2_TERM_UNIT_CHARS)
	{
		return ssh2_exec($this->_conn_link, $command);
	}
public function exec ( $ command , $ pty = NULL , $ env = array ( ) , $ width = 80 , $ height = 25 , $ width_height_type = SSH2_TERM_UNIT_CHARS ) { return ssh2_exec ( $ this -> _conn_link , $ command ) ; }
Exec a command


@param $command string 命令
@param
Exec a command