in reply to Re: WIN redirecting STDOUT and STDIN to new spawned CMD console
in thread WIN redirecting STDOUT and STDIN to new spawned CMD console

Thanks, I didn't know it's that complicated.

My approach to Win is to mentally map concepts I know from Linux, even after years. And this doesn't always fit.

I also kind of remembered that a child process is inheriting STD-IN/OUT/ERR from the parent.

So one of my ideas was that probably it was possible than an app spawns a console as child with "cloned" STDIN and STDOUT, while STDERR is kept to the parent's console.

Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re^2: WIN redirecting STDOUT and STDIN to new spawned CMD console