You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, unfortunately, there is no way (no API available) how to handle this situation with long-running processes correctly. You could execute Gradle with --no-daemon so the JVM should be turned off right after your build - then it should work as expected. This is actually the same as running in debug mode.
I just want to make sure my comment was clear. It's specifically an issue when the container does not produce any output and captureContainerOutput* is used in the docker-compose stanza. It works fine otherwise.
For example, if I switch from the memcached container to the mysql one (which does produce output), I can interrupt gradle and it will correctly shut down the main process.
Long running JavaExec processes are left running when used with docker compose if the following happens:
The following demonstrates the issue:
./gradlew run
to startNot sure how much of this is relevant but adding it in case it's useful:
I'm happy to provide more detail or information as required.
The text was updated successfully, but these errors were encountered: