R
ReggieC
Hi there,
I have to execute an executable from a CGI script written in perl. I
cannot do that even
with a very simple test like:
$result = system("mkdir test1");
$result = system("mkdir ", "test1");
exec('mkdir test1');
but always got 500 Internal Service Error.
Adding $ENV{"PATH"} = ""; and use full path of mkdir did not help.
I'm using perl 5.8 with Apache 2.2.
Any opinion is very much appreciated.
I have to execute an executable from a CGI script written in perl. I
cannot do that even
with a very simple test like:
$result = system("mkdir test1");
$result = system("mkdir ", "test1");
exec('mkdir test1');
but always got 500 Internal Service Error.
Adding $ENV{"PATH"} = ""; and use full path of mkdir did not help.
I'm using perl 5.8 with Apache 2.2.
Any opinion is very much appreciated.