I am new to Gradle and I am using a small task to start/stop local tomcat server.
My gradle task:
task startTomcat(type: Exec){ workingDir ENV[\
Since you're running on Windows, you've likely encountered this bug: Process execution hangs on Windows if child processes are still alive. Unfortunately I don't have a simpler workaround to suggest.