Ticket #840: win32_pipe_write_stdhandles.patch

File win32_pipe_write_stdhandles.patch, 397 bytes (added by flh, 5 years ago)
  • src/io/win32.c

     
    686686    } 
    687687    else { 
    688688        start.hStdInput = hchild; 
     689        start.hStdOutput = GetStdHandle(STD_OUTPUT_HANDLE); 
     690        start.hStdError = GetStdHandle(STD_ERROR_HANDLE); 
    689691    } 
    690692 
    691693    if (CreateProcess(NULL,