This is PerlMonks "Mobile"

Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Try this

#! perl -plw use strict; use Win32::Console; BEGIN{ my $c=new Win32::Console( STD_ERROR_HANDLE ); $c->Free(); $c->Alloc(); } END{ print 'Paused'; 1 while sleep 1; }

Name that as Errcon.pl and then do

perl -e"open F, '| perl ErrCon.pl' or die $!; print F 'Hello world', $ +_, $/ for 1 .. 100"

You'll need to use ^Break to end the progam.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail


In reply to Re: Re: Open a second DOS window (a working possibility) by BrowserUk
in thread Open a second DOS window by bart

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":