I created a CGI in C++. This program calls a shell script script.sh
this way
system("script.sh")
I don't know why but when I use the CGI the web page displays all the output of the script.
What can I do to avoid that? I inserted an echo off
but it doesn't work and I still see all the output. Is there a way to disable that? I am using LINUX Red Hat 6.2 and uses Mongoose
as web server.