News for hackers. Stuff that matters.
Re:Redirecting Stdio Is Hard by SCHiM on Monday December 22, 2014 @01:40PM (#8784369)
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.

There are no comments on this comment yet.