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.