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.
In reply to Re: Re: Open a second DOS window (a working possibility)
by BrowserUk
in thread Open a second DOS window
by bart
<code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>