IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 42278 for trunk


Ignore:
Timestamp:
Sep 2, 2022, 11:28:40 AM (4 years ago)
Author:
eugene
Message:

add EXECSTATUS variable to carry status of backtick command

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/lib.shell/parse.c

    r41517 r42278  
    124124      free (B);
    125125
     126      // XXX make this error output conditional
    126127      if (filestatus) gprint (GP_ERR, "warning: exit status of command %d\n", filestatus);
     128      set_int_variable ("EXECSTATUS", filestatus);
    127129
    128130      /* convert all but last return to ' '.  drop last return */
Note: See TracChangeset for help on using the changeset viewer.