Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: running an executable from a cgi script

by serf (Chaplain)
on Feb 09, 2006 at 16:18 UTC ( #529120=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # path to program
    my $prog = '/local/path/to/cgi-bin/executableprog';
    ...
    print PROG "$file\n";
    close(PROG);
    
  2. or download this
    my $pid = open PIPE, "-|";
    
  3. or download this
    exec PROG or die "Cannot open pipe to executableprog: $!";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://529120]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2023-02-05 17:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (32 votes). Check out past polls.

    Notices?