LanX has asked for the wisdom of the Perl Monks concerning the following question:
this question is related to Prompting for input inside IDE run (was Reading from STDIN) but I think it's worth its own thread
I want a Perl script to write errors via STDERR and receive signals in the first CMD window where it's started and show/get STDOUT/STDIN in a second CMD which was spawned.
For debugging/development.
That's not too unheard off, the second window is similar to a GUI app which writes errors into the original console.
Now I remember achieving similar things with Xterms and TTYs on Linux, but is it also easily possible with Win CMDs?
Searching for "redirecting STDOUT" is always only showing >file stuff for me.
Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery
fixed confusion, wrote STDERR where I meant STDIN
|
|---|