public static final class ProcessHandler.ProcessCommand extends Object
start
method.Modifier and Type | Method and Description |
---|---|
List<String> |
getCommand()
Returns the subprocess executable and arguments as an immutable list.
|
String |
getDirectory()
Returns the subprocess working directory.
|
Map<String,String> |
getEnvironment()
Returns the subprocess environment as an immutable map.
|
ProcessHandler.Redirect |
getErrorRedirect()
Returns the standard error output destination.
|
ProcessHandler.Redirect |
getInputRedirect()
Returns the standard input source.
|
ProcessHandler.Redirect |
getOutputRedirect()
Returns the standard output destination.
|
boolean |
isRedirectErrorStream()
Return whether the standard error output should be merged into standard output.
|
public List<String> getCommand()
public String getDirectory()
public Map<String,String> getEnvironment()
public boolean isRedirectErrorStream()
public ProcessHandler.Redirect getInputRedirect()
public ProcessHandler.Redirect getOutputRedirect()
public ProcessHandler.Redirect getErrorRedirect()