Hi Anonymous,
It would be best if you could provide a short, runnable example of the CGI script and a small sample ksh script that reproduces the problem - see Short, Self Contained, Correct Example - otherwise we are left to guess at the problem ("it does not work").
Have you verified that the environment variables your ksh script is trying to access are also available to the Perl CGI script, for example by printing $ENV{VARNAME}? I suspect the environment variables made available to the CGI script by the webserver are different from the ones available in the shell, maybe that is the source of your problem.
Regards,
-- Hauke D
In reply to Re: Call ksh script from CGI with environment variables
by haukex
in thread Call ksh script from CGI with environment variables
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |