I am examining how gfsh currently returns exit codes.  There are a few
tickets open on this topic (see below).  Before these can be readily
addressed, we should discuss what intended functionality ought to be.

  Currently, gfsh returns either 0 on success or 1 on any type of failure
(ignoring some existing bugs).  However, we already distinguish two types
of failure internally:
  (a) the gfsh command could not execute (e.g., the command was malformed)
  (b) the gfsh command executed but yielded some failure (e.g., an
IOException occurred during serialization).
  This could be easily expanded to separate exit codes for the type of
failure, if this would be useful.

  Beyond that and with regard to scriptability, are there any other exit
statuses that would be particularly useful / any specific failures that
deserve their own exit code?

Open tickets regarding exit codes:
* GEODE-2160
* GEODE-2510
* GEODE-2971

Reply via email to