I am trying to run a batch file which will start a server through my CGI Script. The Script is running fine if i run the program through command prompt but when i execute the CGI Script through a browser, the batch file is not being executed.
use CGI qw(:standard);
use CGI::Carp qw(fatalsToBrowser);
my $cgi=new CGI;
print "<body bgcolor=#c0c0c0>";
print "Program ends";
The Program is print "Program ends" both in command prompt and in browser. But the batch file is not being executed when run through browser.
Any help will be appreciated!!!