Use task exit codes when shutdown via SIGINT
#9697
chris-olszewski
announced in
RFC
Replies: 1 comment 1 reply
-
Agreed, which it currently already does from what I understood from Anthony. However when a persistent task is exited by the user, it should return with 130 instead of e.g. exit code 1 (hinting an error occurred, while the user just |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Opening a RFC for this comment in #3711 which is a specific issue of wanting the underling task exit code to be returned by
turbo
.#3711 (comment)
For example a task could return a 1 if it shut down successfully or a 2 if it wasn't able to clean up all resources.
turbo
obviously could not forward all exit codes, but I think returning the maximum exit code still could be useful.Beta Was this translation helpful? Give feedback.
All reactions