[Israel.pm] Permission for system command

Gabor Szabo gabor at perl.org.il
Mon Aug 30 02:06:19 PDT 2004

On Sat, 28 Aug 2004, Webmaster @ SOI wrote:

> Now, since the perl script is activated from PHP with user nobody
> I guess it's a matter of permission for the perl script to execute
> system() command
> Any one has an idea how to solve it ?

It might be permission problem or different environment variables
(most importantly PATH) or anything else :)

In any case you should check the return value of the system command and
then $! if needed for detailed error message. This might give you a better

read the docs for more details on error handling of the system command:

> perldoc -f system


More information about the Perl mailing list