I try on a openSUSE 11.3 server is a bash script using Perl / CGI to run. Unfortunately, this does not work like I want it. Not at all. My Perl script is as follows :
I think that there would be someone who can help in solving my problem that I am facing while running Bash script with Perl. I think that I am clear enough to explain my query.
#! / Usr / bin / perl-w
use CGI:: Carp qw (fatalsToBrowser);
print "Content-type: text / html \ n \ n";
$ SIG (CHLD) = 'IGNORE';
unless (fork ()) (
exec ('/ bin / test.sh');