wwiv icon indicating copy to clipboard operation
wwiv copied to clipboard

implement stdio exec on win32

Open wwiv opened this issue 7 years ago • 4 comments

Right now it only works on *nix, need to figure out how to make it work on win32. just setting the handles didn't do it.

wwiv avatar Mar 07 '17 14:03 wwiv

https://support.microsoft.com/en-us/help/190351/how-to-spawn-console-processes-with-redirected-standard-handles

wwiv avatar Apr 02 '17 14:04 wwiv

https://github.com/diegocr/netcat/blob/master/doexec.c

wwiv avatar Apr 02 '17 14:04 wwiv

http://edn.embarcadero.com/article/10387 has a good example, really this is just like the syncfoss case, except we write to a names pipe that the stdio stdin handles were pointed to

wwiv avatar Aug 04 '20 05:08 wwiv

Also https://docs.microsoft.com/en-us/windows/win32/procthread/creating-a-child-process-with-redirected-input-and-output

wwiv avatar Feb 24 '21 06:02 wwiv