|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
Processes.
See:
Description
| Interface Summary | |
|---|---|
| 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 Summary | |
|---|---|
| ProcessContext | This class represents the context for a process. |
Provides the API for utilities that help to deal with
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.
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||