Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 perusing the Monastery: (8)
As of 2022-12-01 14:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?