I have a Java webstart process that is part of a windows batch script. I\'m using the javaws command in a batch script in this case.
This match script ( start.bat) is invoke
As far as I know, there's no such option in commons-exec. It's not even possible to obtain the PID of whatever process you just started. You could trap the kill signal within your bash script, and have the handler kill the subprocess(es) when the script process is killed.