#162 Non-zero exit code on error

open
nobody
5
2012-10-23
2012-03-20
ipsecog
No

Suggest setting a non-zero exit code if the conversion was unsuccessful, as this is an important and simple way the caller can check what is in the output - an error message or the converted result.

I'm using Python to call "babel" via subprocess to convert molecules, but the exit code from babel is always 0, so the only (?) way to see if the output is the converted result or an error message is to check it for presence of "Open Babel Error".

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks