Hi,
my web server is a linux machine.
I'm trying to execute the following statement from within a cgi script, but it seem to not work when run from a browser. But if I run the cgi script from the command line , it works.
Here it is:
system("rsh server1 \"cd \/nappaji\/spc_charts\/; sas c_greplay_new.sas;\""
This statement is within a CGI script. All it does is rsh onto the server server1 , cd onto my directory and execute a script. (sas is a statistical analysis tool).
I'm unable to figure out why it works from the CGI script works from the command line but not from the browser.
Please help
Thanks
my web server is a linux machine.
I'm trying to execute the following statement from within a cgi script, but it seem to not work when run from a browser. But if I run the cgi script from the command line , it works.
Here it is:
system("rsh server1 \"cd \/nappaji\/spc_charts\/; sas c_greplay_new.sas;\""
This statement is within a CGI script. All it does is rsh onto the server server1 , cd onto my directory and execute a script. (sas is a statistical analysis tool).
I'm unable to figure out why it works from the CGI script works from the command line but not from the browser.
Please help
Thanks