in src/main/java/org/apache/commons/exec/ShutdownHookProcessDestroyer.java [171:184]
public void run() {
synchronized (processes) {
running = true;
final Enumeration<Process> e = processes.elements();
while (e.hasMoreElements()) {
final Process process = e.nextElement();
try {
process.destroy();
} catch (final Throwable t) {
System.err.println("Unable to terminate process during process shutdown");
}
}
}
}