Ignore:
Timestamp:
Mar 28, 2018, 10:32:11 PM (7 years ago)
Author:
bird
Message:

kmk,kWorker: Some fixes wrt output capture and ctrl-c.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/kmkbuiltin/kSubmit.c

    r3199 r3200  
    7171
    7272#define TUPLE(a_sz)     a_sz, sizeof(a_sz) - 1
     73
    7374
    7475/*********************************************************************************************************************************
     
    11511152# else
    11521153        if (MkWinChildCreateSubmit((intptr_t)pWorker->OverlappedRead.hEvent, pWorker,
    1153                                    pWorker->pStdOut, pWorker->pStdErr, pPidSpawned) == 0)
     1154                                   pWorker->pStdOut, pWorker->pStdErr, pChild, pPidSpawned) == 0)
    11541155        { /* likely */ }
    11551156        else
     
    16911692               the kWorker process currently does not coordinate its output with
    16921693               the output.c mechanics. */
     1694#ifdef CONFIG_NEW_WIN_CHILDREN
     1695            if (pCtx->pOut && !pWorker->pStdOut)
     1696#else
    16931697            if (pCtx->pOut)
     1698#endif
    16941699                output_dump(pCtx->pOut);
    1695 
    16961700            rcExit = kSubmitSendJobMessage(pCtx, pWorker, pvMsg, cbMsg, 0 /*fNoRespawning*/, cVerbosity);
    16971701            if (rcExit == 0)
Note: See TracChangeset for help on using the changeset viewer.