IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 10, 2008, 12:51:04 PM (18 years ago)
Author:
eugene
Message:

allow job stdout / stderr from pclient to arrive slowly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pcontrol/StartJob.c

    r19124 r20047  
    1212  ASSERT (host == (Host *) job[0].host, "invalid host");
    1313  ASSERT (job  == (Job *) host[0].job, "invalid job");
     14
     15  ResetJobOutput (&job[0].stdout);
     16  ResetJobOutput (&job[0].stderr);
    1417
    1518  /* construct command line : job arg0 arg1 ... argN\n */
     
    8083
    8184  /* check on result of pclient command */
    82   p = memstr (buffer[0].buffer, "STATUS", buffer[0].Nbuffer);
     85  p = memstr (buffer[0].buffer, "PCLIENT_PID:", buffer[0].Nbuffer);
    8386  if (p == NULL) {
    8487      // failed to get a valid response.  kill the job and try again,
Note: See TracChangeset for help on using the changeset viewer.