in reply to Run a shell command in a new terminal from a perl script?
Which platform? On Unix you can (for example) do something like this
system q/xterm -e perl -le 'print "line $_" for 1..20; <>'/;
which would print 20 ines in a new xterm, and wait for you to press enter to close the terminal again. The -e option specifies the command to run in the xterm (some perl, here). Virtually any other terminal has similar facilities.
Is that what you are trying to do?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Run a shell command in a new terminal from a perl script?
by ironside (Acolyte) on Feb 01, 2012 at 00:56 UTC | |
by Khen1950fx (Canon) on Feb 01, 2012 at 01:37 UTC | |
by ironside (Acolyte) on Feb 02, 2012 at 21:18 UTC | |
by Khen1950fx (Canon) on Feb 03, 2012 at 05:04 UTC |
In Section
Seekers of Perl Wisdom