Page 1 of 1

EXEC or system pro.

Posted: Wed Mar 11, 2009 8:18 am
by danky
Recently i installed cutycapt on my Centos system and it's works in shell.

Code: Select all

./CutyCapt --url=http://www.google.com/ --out=google.png
when i try to run

Code: Select all

exec(./CutyCapt --url=http://www.google.com/ --out=google.png);
it does not works...

i tried :

Code: Select all

exec("cp file1 file2") ;
its works...


Somebody please help me out ! thanks.

Re: EXEC or system pro.

Posted: Wed Mar 11, 2009 11:51 am
by requinix
"does not works" is absolutely useless for us. Tell us how it doesn't work: an error message? Nothing?

Are you sure that CutyCapt is in the current working directory and is executable by all users?