IO Completion Ports (IOCP) and Asynchronous I/O through STDIN, STDOUT and STDERR

tl;dr Can't be done directly. You have two options: a) mock async I/O with threads, or b) redirect STDIN, STDOUT & STDERR to other »