| Package | Description |
|---|---|
| org.apache.commons.exec |
| Modifier and Type | Class | Description |
|---|---|---|
class |
ShutdownHookProcessDestroyer |
Destroys all registered
Processes when the VM exits. |
| Modifier and Type | Method | Description |
|---|---|---|
ProcessDestroyer |
DefaultExecutor.getProcessDestroyer() |
|
ProcessDestroyer |
Executor.getProcessDestroyer() |
Set the handler for cleanup of started processes if the main process
is going to terminate.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
DefaultExecutor.setProcessDestroyer(ProcessDestroyer processDestroyer) |
|
void |
Executor.setProcessDestroyer(ProcessDestroyer processDestroyer) |
Get the handler for cleanup of started processes if the main process
is going to terminate.
|