Hi all, Just wanted to let you all know that I've added a general purpose shutdown hook.
You can add/remove actions that need to be performed when the Gradle processes is canceled by using the org.gradle.util.shutdown.ShutdownHookActionRegister class. Currently only the DefaultExecHandle class uses this, when you call start on an exec handle now a shutdown hook action is registered to cancel the external process when the Gradle process is canceled. When the external process fails or finishes the shutdown hook action is removed from the register. This way we clean up nicely when we start external processes by using the exec handle classes. Kr, Tom
