The Apache Commons Exec team is pleased to announce the 1.2 release!

Apache Commons Exec is a library to reliably execute external processes from within the JVM.

This is a mostly a maintenance release after a long absence from new releases and still requires a only minimum of Java 1.3.

Changes in this version include:

New features:

o Set names for started threads.  Issue: EXEC-55. Thanks to Dominik Stadler.

Fixed Bugs:

o Issue: EXEC-68.
  Watchdog kills process immediately if timeout is too large.
  Thanks to Joel McCance.
o Issue: EXEC-57.
  Applied the patch from Nickolay Martinov but the timeout disguises the fact that the process might be still running.
  Therefore added a sanity check in order to throw an exception if the the timeout for join() was exceeded.
  Thanks to Nickolay Martinov.
o Issue: EXEC-60.
  Fixed dead lock by calling the timeout observers outside of the synchronized block thereby removing on pre-requisite of a deadlock.
  Also added a test case to demonstrate that this problem is fixed (which of course can not guarantee the absence of a dead lock).
  Thanks to Peter Kofler.
o Issue: EXEC-52.
  Tests fail on HP-UX, because it uses a different syntax for the ping command.
  Thanks to Nickolay Martinov.
o Issue: EXEC-49.
  "Write dead end" IOException when using Piped streams w/PumpStreamHandler.
  When encountering a PipedOutputStream we will automatically close it to avoid the exception. 
  Thanks to Kevin Telford.
o Issue: EXEC-34.
  Race condition prevent watchdog working using ExecuteStreamHandler.
  Patch submittd by Kristian Rosenvold.
  Thanks to Marco Ferrante.

For complete information on Commons Exec, including instructions on how to submit bug reports, patches, or suggestions for improvement, see the Apache Commons Exec website:



Gary Gregory on behalf of the Apache Commons Exec team