Remove most calls to sys.exit in TELEMAC Python functions
Follow-up to a discussion opened by @nicolas.godet in 9ca41784.
In general, the use of sys.exit
should be avoided in functions, as this prevents their use in other modules. Examples of this include the main
functions in all TELEMAC standalone scripts, which should return an error code instead of terminating abruptly.
Edited by Boris Basic