Skip to content

exiting with a non-zero return code workaround broken #5356

Answered by MarkMcCulloh
mortax asked this question in Q&A
Discussion options

You must be logged in to vote

I think there is a bug preventing the exit code from propagating outside of the worker thread, so that part could be fixed.

Also I would suggest using process.exitCode = <number> instead to avoid the process terminating before the wing CLI can finish cleanup.

Replies: 3 comments 3 replies

Comment options

mortax
Dec 28, 2023
Collaborator Author

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

Comment options

mortax
Dec 28, 2023
Collaborator Author

You must be logged in to vote
2 replies
@MarkMcCulloh
Comment options

Answer selected by mortax
@mortax
Comment options

mortax Dec 29, 2023
Collaborator Author

Comment options

mortax
Jan 1, 2024
Collaborator Author

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants