Wolff Bock von Wuelfingen created EXEC-123:
----------------------------------------------

             Summary: Child processes not getting killed
                 Key: EXEC-123
                 URL: https://issues.apache.org/jira/browse/EXEC-123
             Project: Commons Exec
          Issue Type: Bug
    Affects Versions: 1.4.0
            Reporter: Wolff Bock von Wuelfingen


While searching for something completely different related to Commons Exec, i 
found this:

[https://stackoverflow.com/questions/35601924/java-apache-commons-exec-watchdog-and-windows-cmd-exe-issues]

The answer there uses `Process.descendants()` to also kill the child processes. 
That method was added with Java 9.

Since this problem is important enough to be one of the five [FAQ 
questions|https://commons.apache.org/proper/commons-exec/faq.html], i think it 
might be a good idea to raise the minimum Java version of Commons Exec and use 
the `descendants()` method to fix that problem.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to