phpseclib\Net\SSH2::enablePTY PHP Method

enablePTY() public method

Enable request-pty when using exec()
public enablePTY ( )
    function enablePTY()
    {
        $this->request_pty = true;
    }