4 ms·
On windows you use DuplicateHandle() on pipes made by CreatePipe(). You can then pass these handles to, for example, CreateProcess() (which does what the name i
by SCHiM 12y ago
On windows you use DuplicateHandle() on pipes made by CreatePipe(). You can then pass these handles to, for example, CreateProcess() (which does what the name implies). Now when the child process writes to a handle (stdout), the parent process can then read from this handle as if it were stdin.