I'm looking for a package to support reliably executing external processes from Java. My criteria:
I've looked at commons-exec but it looks like it answers only 3 & 4. Ant has support for execution but looks like an overkill to use it for this purpose only.
You will likely have to go with 'commons-exec' and then roll up your sleeves and write some code.
Those are pretty specific requirements.