Process
es.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
Process es. |
Class | Description |
---|---|
ProcessContext |
This class represents the context for a process.
|
Process
es.
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
. Process
es. Executor
providing a thread-pool.Copyright © 2001–2014 mmm-Team. All rights reserved.