How can an exe be run via a perl script that is called by a browser?
Running IIS with ActivePerl. We would like a Perl script that is started by a browser to exectue an exe file. The exe does not have any UI, it just runs a query. Things work fine from a command line, but when we try to use a browser to start the perl script …
We are using perl’s system() function (for now) and the exe does actually start. But it just doesn’t do anything. We only know it started because it shows in the TaskManager but it doesn’t end and we can’t kill it.
http://perldoc.perl.org/functions/exec.html