IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 33536


Ignore:
Timestamp:
Mar 15, 2012, 2:58:47 PM (14 years ago)
Author:
eugene
Message:

close the pipes after remote jobs finish

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20111122/Ohana/src/libdvo/src/HostTable.c

    r33520 r33536  
    301301        // check on the status of this and report any output?
    302302        fprintf (stdout, "job finished for %s (%d)\n", host->hostname, pid);
     303        fclose (host->stdio[HOST_STDIN]);
    303304
    304305        // read stdout
     
    307308        write (STDOUT_FILENO, host->stdout.buffer, host->stdout.Nbuffer);
    308309        FlushIOBuffer (&host->stdout);
     310        fclose (host->stdio[HOST_STDOUT]);
    309311        fprintf (stdout, "\n");
    310312           
     
    314316        write (STDOUT_FILENO, host->stderr.buffer, host->stderr.Nbuffer);
    315317        FlushIOBuffer (&host->stderr);
     318        fclose (host->stdio[HOST_STDERR]);
    316319        fprintf (stdout, "\n");
    317320
Note: See TracChangeset for help on using the changeset viewer.