Disable buffering on redirected stdout Pipe (Win32 API, C++)

前端 未结 3 1901
北荒
北荒 2020-12-01 16:21

I\'m spawning a process from Win32 using CreateProcess, setting the hStdOutput and hStdError properties of STARTUPINFO to

3条回答
  •  旧巷少年郎
    2020-12-01 17:16

    There's SetNamedPipeHandleState, but it only controls buffering for remote pipes, not when both ends are on the same computer.

提交回复
热议问题