Processes.See: Description
| Interface | Description |
|---|---|
| AsyncProcessExecutor |
This is the interface for an async executor of a
Process. |
| ProcessUtil |
This is the interface for a collection of utility functions to deal with
Processes. |
| Class | Description |
|---|---|
| ProcessContext |
This class represents the context for a process.
|
Processes.
Process is NOT an easy task. The streams for stdin,
stdout, and stderr need to be transferred asynchronously. Creating a pipe is the typical task and is
easily done with a shell like bash. However solving this with java is quite a little challenge if you do this
from scratch. Even worse there is a bug in java when creating processes via Runtime which causes
that sub-processes are NOT terminated and keep running if a Process is
destroyed. Processes. Executor providing a
thread-pool.Copyright © 2001–2016 mmm-Team. All rights reserved.