system("logscr.ply ");
The error I get is this:
Can't exec "logscr.ply": Permission denied at eal.ply line 3
Why am I getting the error, and how do I fix it?
system("logscr.ply ");
The error I get is this:
Can't exec "logscr.ply": Permission denied at eal.ply line 3
Why am I getting the error, and how do I fix it?
What platform/OS is this?
Probably logscr.ply
just does not have execute permissions set. On Linux/Unix e.g. you should do
chmod u+x logscr.ply
then try again.
Note: This assumes you are the owner of logscr.ply
. If not, adjust accordingly.
Without knowing any more details, there could be a variety of reasons:
chmod u+x logscr.ply
from your command prompt.chmod u+r,u+x folder-name
).system("perl logscr.ply");
.system("perl /some/path/logscr.ply");
), don't rely on your $PATH variable.