slachiewicz opened a new pull request, #84:
URL: https://github.com/apache/maven-executor/pull/84

   Fixes #48 and #58. On timeout the forked executor destroys the whole process 
tree through `ProcessHandle` (by reflection, so the Java 8 build still 
compiles), taking a fresh snapshot of the descendants while it destroys them, 
and throws `ExecutorTimeoutException` carrying a bounded tail of the output 
grabbed so far. A test runs a process that hangs and checks both.
   
   This replaces #56 and carries the commits of the closed #64, rebased on 
`main`. It conflicts with #83 in the `InterruptedException` handler, and with 
#55 in `ProcessBuilderExecutorSupportTest`; whichever merges second needs a 
small rebase.
   
   Verified: `mvn -B test` in `maven-executor` → Tests run: 70, Failures: 0, 
Errors: 0, Skipped: 2
   
   ---
   
   To make clear that you license your contribution under
   the [Apache License Version 2.0, January 
2004](https://www.apache.org/licenses/LICENSE-2.0)
   check one of the following:
   
   - [ ] I hereby declare this contribution to be licensed under the [Apache 
License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0)
   - [x] I hereby declare that I have filed an [Apache Individual Contributor 
License Agreement](https://www.apache.org/licenses/icla.pdf).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to