devenv icon indicating copy to clipboard operation
devenv copied to clipboard

How to skip the exit prompt of the service monitor?

Open edgarogh opened this issue 1 year ago • 2 comments

Hello, Whenever I close my IDE (IntelliJ), it says "waiting for process detach" indefinitely, probably because it sent a SIGINT to the devenv service, which the latter captures to display its confirmation prompt. I can't find any way to disable this. I'm OK with devenv up taking proper time to gracefully shut down its processes, but preventing the normal exiting with a dialog box is a bit too much for a CLI process that's mostly "fire and forget".

edgarogh avatar Sep 19 '24 17:09 edgarogh

@edgarogh, are you using the default process-compose manager? Once it takes over the shell, it's the one handling the signals.

sandydoo avatar Sep 27 '24 21:09 sandydoo

I've been investigating whether it's possible to prevent the exit confirmation by process-compose. And there is a setting for it, see https://github.com/F1bonacc1/process-compose/issues/290

But, it requires a newer versin of process-compose (v1.40.0) where currentely in devenv v1.3.1 it uses v1.2.0 of process-compose

bjgbeelen avatar Jan 06 '25 13:01 bjgbeelen