guvnor icon indicating copy to clipboard operation
guvnor copied to clipboard

Guvnor doesn't restart automatically

Open Removed-5an opened this issue 9 years ago • 4 comments

My application just quit without an exception (clean shut down). Guvnor did not restart the process automatically. There should be a flag / setting to make sure the process automatically restarts.

Removed-5an avatar Oct 06 '15 11:10 Removed-5an

Do you mean to say your process did a process.exit(0) or similar?

achingbrain avatar Oct 06 '15 12:10 achingbrain

Exactly

Removed-5an avatar Oct 07 '15 08:10 Removed-5an

Do you have any update here? Does auto-restart feature work?

maZahaca avatar Dec 24 '15 08:12 maZahaca

The auto-restart feature works but currently it'll only restart a process that exits with a non-zero exit code.

This is by design - the thought process being that if your process exits cleanly then it's finished the work it set out to do so probably shouldn't be restarted.

I'm not against changing it to restart any program that exits regardless of exit code but I'm not 100% convinced that's the right thing to do.

achingbrain avatar Dec 24 '15 09:12 achingbrain