in reply to Re^2: How to execute dos commands from Perl
in thread How to execute dos commands from Perl
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
|
|---|