advice: put copies from the programs you want to execute on the same directory where the cgi script is residing, modify their access rights so that the cgi is able to call them - and pray. ^^
No, don't do that. That is borderline criminal advice.
Comment on Re^2: CGI/Remote Commands on Web Servers