Skip to content
Discussion options

You must be logged in to vote

Is the exit code always 1 on failure, or are there different ones?

Currently, all exceptions that occur within 4C (and that we can catch return 1). But the process might also be killed by another action (e.g. on the cluster by slurm, or by the system, or on a segmentation fault). In that case, the exit code is typically not 1.

Is it possible to exit with different codes depending on the error?

I think we should convert this part of the question into an issue.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by amgebauer
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