in reply to Call external Windows/win32 executable
You can use
$exitcode = system('path/to/your/file.exe arg1 arg2');
It will run the EXE, it will wait until it completes, AND you'll get the exit status...
--------------------------------
An idea is not responsible for the people who believe in it...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Call external Windows/win32 executable
by Ultra (Hermit) on Jul 07, 2005 at 13:04 UTC | |
Re^2: Call external Windows/win32 executable
by mosh (Scribe) on Jul 07, 2005 at 13:03 UTC | |
by Ultra (Hermit) on Jul 07, 2005 at 13:07 UTC |
In Section
Seekers of Perl Wisdom