Skip navigation links

Package net.sf.mmm.util.process.api

Provides the API for utilities that help to deal with Processes.

See: Description

Package net.sf.mmm.util.process.api Description

Provides the API for utilities that help to deal with Processes.

Process-Util API

Dealing with 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.
This package prevents you from those headaches by providing utilities that make it easier to deal with Processes.
If you want to use this in a server application, you can inject an Executor providing a thread-pool.
Skip navigation links

Copyright © 2001–2016 mmm-Team. All rights reserved.