Re: running a shel script within a perl cgi script

2011-11-09 Thread David Christensen
On 11/09/2011 04:57 AM, Agnello George wrote: I am trying to run a shell script within a perl cgi script , however it is not getting executed . cat /vae/www/cg-bin/syscscript.pl my $openvpn = `ps aux |grep openvpn |grep -v grep`; unless ( $openvpn) { system(" /usr/sbin/openvpn /etc/openvpn/DC.ov

Re: running a shel script within a perl cgi script

2011-11-09 Thread Luca Cappelletti
On Wed, Nov 9, 2011 at 13:57, Agnello George wrote: ... > my $openvpn = `ps aux |grep openvpn |grep -v grep`; > unless ( $openvpn) { > system(" /usr/sbin/openvpn /etc/openvpn/DC.ovpn "); > } > > - > cat > > do the httpd daemon permit you to run something outside it's own scope? I had similar p