Just a quick note that the long-festering DM-4141 is finally fixed; if I did it right, command line tasks (including calibration tasks in pipe_drivers) should now return proper unix error codes upon failure.
More completely, the tasks return the number of dataRef that failed (so if nothing fails you get 0, which unix considers as success).
The error exit comes from ParseAndRun
so the calling script (usually in bin) will not see the task return; if you want to avoid this you can specify --noExit
, but then you’ll have to handle the errors yourself.