W3C home > Mailing lists > Public > xproc-dev@w3.org > January 2013

Calabash should return non-0 in case of error

From: Florent Georges <fgeorges@fgeorges.org>
Date: Tue, 29 Jan 2013 14:10:16 +0100
Message-ID: <CADyR_r2Af34SCayzVp1TznikWsnJiD5-73ZtxFUtszHXE1JjcQ@mail.gmail.com>
To: XProc Dev <xproc-dev@w3.org>

  Calabash always returns 0 to the operating system.  Could it return
a non-0 code in case or error?  It is very hard to integrate it in
other products, calling it as an external process, and to handle

  I think Main.main() should detect error cases and call System.exit(1).


Florent Georges
Received on Tuesday, 29 January 2013 13:11:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:10 UTC