| Home · Modules · Classes · Namespaces · Functions |
The QxtSshProcess class allows communication with a process invoked on an SSH server More...
#include <QxtSshProcess>
Inherits QxtSshChannel.
The QxtSshProcess class allows communication with a process invoked on an SSH server
QxtSshProcess is an I/O device analogous to QProcess. It can invoke a command or SSH subsystem on the SSH server; the stdin, stdout, and stderr channels of the process are redirected through the channel.
QxtSshProcess objects are created using the QxtSshClient::openProcessChannel() method.
| Constant | Value | Description |
|---|---|---|
| QxtSshProcess::VanillaTerminal | 0 | A terminal with no special features |
| QxtSshProcess::Vt102Terminal | 1 | A terminal that understands VT102 command codes |
| QxtSshProcess::AnsiTerminal | 2 | A terminal that understands ANSI command codes |
This signal is emitted when the process on the SSH server finishes. The parameter is the exit code of the process. After the process has finished, the read buffer QxtSshProcess will still contain any data the process may have written before terminating.
Another process or subsystem may be invoked on the same channel after the first process terminates.
Requests that a PTY be allocated for this channel on the remote host.
This function must be invoked before starting the process that requires it.
Invokes a shell command on the SSH server.
If there is already a process running on this channel, the behavior is undefined.
Starts a login shell on the SSH server.
If there is already a process running on this channel, the behavior is undefined.
This signal is emitted by QxtSshProcess when the remote process has started.
| Copyright © 2007-2010 Qxt Foundation |
Qxt 0.7.0 |