Feature Requests item #3509301, was opened at 2012-03-20 01:46
Message generated for change (Tracker Item Submitted) made by ipsecog
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428743&aid=3509301&group_id=40728

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Command-Line
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: ipsecog (ipsecog)
Assigned to: Nobody/Anonymous (nobody)
Summary: Non-zero exit code on error

Initial Comment:
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".


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428743&aid=3509301&group_id=40728

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to