public interface IRemoteCommandShellService extends IRemoteConnection.Service
IRemoteConnection.Service.Factory| Modifier and Type | Method and Description |
|---|---|
IRemoteProcess |
getCommandShell(int flags)
Get a remote process that runs a command shell on the remote system.
|
getRemoteConnectionIRemoteProcess getCommandShell(int flags) throws java.io.IOException
IRemoteProcessBuilder.getSupportedFlags() to find out the flags
supported by the service provider.
Current flags are:IRemoteProcessBuilder.NONE- disable any flagsIRemoteProcessBuilder.ALLOCATE_PTY- allocate a pseudo-terminal for the process (RFC-4254 Sec. 6.2)IRemoteProcessBuilder.FORWARD_X11- enable X11 forwarding (RFC-4254 Sec. 6.3)
flags - bitwise-or of flagsjava.io.IOException