What are you trying to do? One CGI script calling another through an exec() is pretty odd.
Is this something that you can do with an internal redirect? The first script outputs a redirection header with a relative path. The server picks that up and handles the rest for you and it only looks like one request to the client.
use CGI; my $cgi = CGI->new; $cgi->redirect( "/filename.cgi?action=task1" );
In reply to Re: Calling subroutine with exec() in .cgi script
by brian_d_foy
in thread Calling subroutine with exec() in .cgi script
by morbid_ru
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |