JackMyers001 opened a new issue, #12536: URL: https://github.com/apache/maven/issues/12536
### Affected version 4.0.0-rc-5 ### Bug description On Windows, pressing Ctrl+C during a long-running Maven 4 invocation does not always terminate the work started by Maven. Child processes remain alive after Maven has been interrupted and can continue holding resources such as network ports. The same invocation terminates correctly with Maven 3.9.x on Windows. Maven 4 also behaves correctly on macOS and Linux. ## Steps to reproduce 1. On Windows 11, open PowerShell or Git Bash in Windows Terminal 2. Generate a modular GWT project using the [GWT Maven archetype](https://github.com/tbroyer/gwt-maven-archetypes): ```shell mvn archetype:generate \ -DarchetypeGroupId=net.ltgt.gwt.archetypes \ -DarchetypeVersion=LATEST \ -DarchetypeArtifactId=modular-webapp ``` 3. Change into the generated project and start the GWT codeserver: ```shell mvn gwt:codeserver -pl *-client -am ``` 4. Wait for the codeserver to start ( should be available at <http://localhost:9876>) 5. Press Ctrl+C ## Expected behaviour Ctrl+C terminates Maven and the running codeserver. ## Actual behaviour The codeserver remains alive and continues listening on port `9876`. Attempting to rerun the codeserver fails because it cannot bind to the port. -- 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]
