Skip to content
Discussion options

You must be logged in to vote

In native mode

Quarkus typically installs four signal handlers when starting up in native mode:

  • INT - exit the program
  • TERM - exit the program
  • HUP - exit the program
  • QUIT - print diagnostics

On Windows, HUP and QUIT do not exist; so, on this platform we register the pseudo-signal called BREAK which prints diagnostics.

The exit signal handler follows the UNIX standard of exiting the program with 128 plus the signal number.

If you set the environment variable DISABLE_SIGNAL_HANDLERS to true, the signal handlers will not be installed and the default will be used instead (though I believe the default has similar exit code semantics).

In JVM mode

In JVM mode we do not install any signal hand…

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by dmlloyd
Comment options

You must be logged in to vote
1 reply
@dmlloyd
Comment options

Comment options

You must be logged in to vote
1 reply
@dmlloyd
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants