I have just released version 2.2.0 of jproc, a handy library to run external programs from Java. It is nice to use a serious programming language (whichever JVM language you consider serious) rather than just bash, if things get a bit more complicated (
set -eux anyone?). This version comes with a couple of minor improvements. I also went back to generating the README.md from the source of the automated acceptance test.
A few highlights of jproc:
- Neat builder syntax.
- Consumes STDIO and STDERR automatically.
- Converts non-zero exit status to Exception.
- Provides timeout mechanism.
Feedback is always welcome, e.g. via github issue tracker or in the comments section below.