IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 43035


Ignore:
Timestamp:
May 26, 2026, 2:28:39 PM (7 weeks ago)
Author:
tdeboer
Message:

catch output status of pclose

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/pzgetexp.c

    r42920 r43035  
    137137    }
    138138    psString cmdOutput = psSlurpFile(output);
    139     pclose(output);
     139    int status = pclose(output);
     140
     141    if (status) {
     142        psError(PS_ERR_UNKNOWN, true, "pclose() failed");
     143        return false;
     144    }
    140145
    141146    psArray *newSummitExps = parseFileSets(config, cmdOutput);
Note: See TracChangeset for help on using the changeset viewer.