use strict; use warnings; my $externalExe="C:/path/to/myprog.exe"; print "Starting external program...\n"; print for qx|$externalExe 2>&1|; # Executes the program, and prints it +'s output print "Program $externalExe run completed.\n";
I hope life isn't a big joke, because I don't get it.
-SNL
In reply to Re^3: How to execute dos commands from Perl
by NetWallah
in thread How to execute dos commands from Perl
by Poornima
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |