in reply to Running a Shell Program from CGI page

it worked for me when I gave the absolute path.
$result = `code_gen.ksh $appname /tmp/table_list.lst "$email"`;