I have a CGI script, it works well for what it's supposed to do. Now as an update to the processing it does I need to call a second script which is writting in ksh.
The ksh script make use of environment variables, and runs the .profile inside. When run stand alone it works fine. When I call it via system it does not. Is there an easy to understand guide on how to resolve this so the CGI page can call the ksh script and have it work the same way it does when run stand alone?