Package | Description |
---|---|
org.tanukisoftware.wrapper |
Modifier and Type | Method and Description |
---|---|
WrapperProcessConfig |
WrapperProcessConfig.setAutoCloseInputStreams(boolean isAutoCloseInputStreams)
Specifies how the pipes of the process should be read.
|
WrapperProcessConfig |
WrapperProcessConfig.setCreateForActiveUser(boolean isInteractive)
Specifies if the ChildProcesses should be launched
in the current session.
|
WrapperProcessConfig |
WrapperProcessConfig.setDetached(boolean detached)
Sets the detached flag.
|
WrapperProcessConfig |
WrapperProcessConfig.setEnvironment(java.util.Map environment)
Sets the environment for the child process.
|
WrapperProcessConfig |
WrapperProcessConfig.setNewProcessGroup(boolean newProcessGroup)
Sets the new process group flag.
|
WrapperProcessConfig |
WrapperProcessConfig.setSoftShutdownTimeout(int softShutdownTimeout)
Sets the timeout for the soft shtudown in seconds.
|
WrapperProcessConfig |
WrapperProcessConfig.setStartType(int startType)
Sets the start type.
|
WrapperProcessConfig |
WrapperProcessConfig.setWorkingDirectory(java.io.File workingDirectory)
Sets the working directory.
|
Modifier and Type | Method and Description |
---|---|
static WrapperProcess |
WrapperManager.exec(java.lang.String[] cmdArray,
WrapperProcessConfig config)
A more powerful replacement to the java.lang.Runtime.exec method.
|
static WrapperProcess |
WrapperManager.exec(java.lang.String command,
WrapperProcessConfig config)
A more powerful replacement to the java.lang.Runtime.exec method.
|
Copyright 1999, 2024 Tanuki Software Inc., All Rights Reserved.