• Vasily Galkin's avatar
    gspawn, win32: fix child stderr when coverage enabled · f7f597c8
    Vasily Galkin authored
    This fixes test that were added in previous commit:
    checking for empty stderr failed with coverage enabled, since
    coverage warnings printed from gspawn-win32-helper process were treated
    as child output. This is fixed by removing redirection after child
    finishes execution.
    
    The dup_noninherited renamed to reopen_noninherited,
    since it actually always closes passed file descriptor.
    f7f597c8
gspawn-win32-helper.c 10.1 KB