Hi, We have a perl/cgi script (ActivePerl 5.8) which calls a executable (C code) using the system command. Ex: ..... @args = ("C:\\perlcode\\sample.pl", "arg1", "arg2"); system(@args); $exit_value = $? >> 8; $signal_num = $? & 127; $dumped_core = $? & 128; print "$exit_value, $signal_num, $dumped_core\n"; .....
The above code works fine from the command prompt and exit_value, signal_num and dumped_core are all 0. The same perl /cgi script when called from a web page (IIS server) returns exit_value to be 128 (what does it mean)????? i.e. C code fails. What could be wrong. Is there any IIS setting required, I did add the .pl extension to IIS. Please help Atul -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>