Hi,
I am running some CGI scripts (written in Perl) on an Apache server, which is on a Windows machine. I am trying to run a Windows EXE file (which takes command-line arguments) within a CGI script, which will be run server-side.
I tried: system("C:/temp/program.exe");
And the browser just keeps loading the webpage (that is created by the CGI script), but never actually loads it. And no errors are reported by the Apache server.
I do not know if this is the right command. But if it is, do you know whether the Apache server needs to be configured to allow EXEs to be run?
I appreciate any help you can give me. Thanks.
I am running some CGI scripts (written in Perl) on an Apache server, which is on a Windows machine. I am trying to run a Windows EXE file (which takes command-line arguments) within a CGI script, which will be run server-side.
I tried: system("C:/temp/program.exe");
And the browser just keeps loading the webpage (that is created by the CGI script), but never actually loads it. And no errors are reported by the Apache server.
I do not know if this is the right command. But if it is, do you know whether the Apache server needs to be configured to allow EXEs to be run?
I appreciate any help you can give me. Thanks.