|
PTP Release 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRemoteProcessBuilder
| Field Summary | |
|---|---|
static int |
ALLOCATE_PTY
Flag to request allocation of a pseudo-terminal for the process (RFC-4254 Sec. 6.2) |
static int |
FORWARD_X11
Flag to request X11 forwarding (RFC-4254 Sec. 6.3) |
static int |
NONE
|
| Method Summary | |
|---|---|
List<String> |
command()
Returns this process builder's operating system program and arguments. |
IRemoteProcessBuilder |
command(List<String> command)
Sets this process builder's operating system program and arguments. |
IRemoteProcessBuilder |
command(String... command)
Sets this process builder's operating system program and arguments. |
IRemoteConnection |
connection()
Returns this process builder's connection. |
IRemoteProcessBuilder |
connection(IRemoteConnection conn)
Sets this process builder's connection. |
org.eclipse.core.filesystem.IFileStore |
directory()
Returns this process builder's working directory. |
IRemoteProcessBuilder |
directory(org.eclipse.core.filesystem.IFileStore directory)
Sets this process builder's working directory. |
Map<String,String> |
environment()
Returns a string map view of this process builder's environment. |
int |
getSupportedFlags()
Get the flags that are supported by this process builder. |
boolean |
redirectErrorStream()
Tells whether this process builder merges standard error and standard output. |
IRemoteProcessBuilder |
redirectErrorStream(boolean redirectErrorStream)
Sets this process builder's redirectErrorStream property. |
IRemoteProcess |
start()
Starts a new process using the attributes of this process builder. |
IRemoteProcess |
start(int flags)
Starts a new process using the attributes of this process builder. |
| Field Detail |
|---|
static final int NONE
static final int ALLOCATE_PTY
static final int FORWARD_X11
| Method Detail |
|---|
List<String> command()
IRemoteProcessBuilder command(List<String> command)
command -
IRemoteProcessBuilder command(String... command)
command -
IRemoteConnection connection()
IRemoteProcessBuilder connection(IRemoteConnection conn)
org.eclipse.core.filesystem.IFileStore directory()
IRemoteProcessBuilder directory(org.eclipse.core.filesystem.IFileStore directory)
directory -
Map<String,String> environment()
ProcessBuilder.environment().
int getSupportedFlags()
boolean redirectErrorStream()
IRemoteProcessBuilder redirectErrorStream(boolean redirectErrorStream)
redirectErrorStream -
IRemoteProcess start()
throws IOException
IOException
IRemoteProcess start(int flags)
throws IOException
getSupportedFlags() to find out the flags
supported by the service provider.
Current flags are: NONE - disable any flags ALLOCATE_PTY - allocate a pseudo-terminal for the process (RFC-4254 Sec. 6.2) FORWARD_X11 - enable X11 forwarding (RFC-4254 Sec. 6.3)
flags - bitwise-or of flags to use when starting process
IOException
|
PTP Release 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||