
It is fairly straightforward for a parent to create a
child process and redirect the child's stdin and stdout
to files. It takes quite a few Windows function calls,
some of them not at all obvious (like making the handles
to the files "inheritable"), but the steps are easy to
understand.