Basically it seems to just not launch the system command. I can run the script externally and it works great but when its used in a browser. It doesn't do anything and seems to skip over the line completely. Thanks in advance.#!/Perl/bin -w use strict; use Thread; use CGI; use CGI::Carp qw(fatalsToBrowser); print "Before CGI creation"; my $q = new CGI; print $q->header( "text/plain" ); print "Before second system call"; system 'cmd.exe /c notepad.exe' || die "Cannot execute notepad.exe";
In reply to Executing an application in Perl/CGI by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |