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 :
Code:
#! / Usr / bin / perl-w
use strict;
use CGI:: Carp qw (fatalsToBrowser);
print "Content-type: text / html \ n \ n";
$ SIG (CHLD) = 'IGNORE';
unless (fork ()) (
exec ('/ bin / test.sh');
exit (0);
)
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.
Bookmarks