Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Why can't a run a system command?

by markh (Scribe)
on Oct 17, 2006 at 19:34 UTC ( [id://578888]=note: print w/replies, xml ) Need Help??


in reply to Re: Why can't a run a system command?
in thread Why can't a run a system command?

You really should put the full path to any system commands that are run from a CGI. You cannot guarantee that $ENV{PATH} in the CGI environment will be the same as it is during your login session.
  • Comment on Re^2: Why can't a run a system command?

Replies are listed 'Best First'.
Re^3: Why can't a run a system command?
by blazar (Canon) on Oct 18, 2006 at 10:11 UTC
    You really should put the full path to any system commands that are run from a CGI. You cannot guarantee that $ENV{PATH} in the CGI environment will be the same as it is during your login session.

    Furthermore, it's a FAQ too, and a suitable Super Search reveals quite a lot of potentially interesting hits.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-16 19:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found