Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Just to put an example, in the Terminal:

php -f file.php

Works perfectly, when I try to use this in GeekTool it just does not work.

It works fine till:

php -f

Displaying the possible option, but when I write: file.php it just doesn't work.

share|improve this question
    
Do you get an error message? "Does not work" is not very informative. –  Dennis Williamson Nov 25 '10 at 3:14
    
@Denis, Sorry about that, the thing is nothing happes really... just blank. –  Trufa Nov 25 '10 at 3:18

1 Answer 1

up vote 4 down vote accepted

Either php isn't found or file.php isn't found. Use the full path, or "cd" to the folder where file.php is.

share|improve this answer
    
Thanks mankoff! It was exactly that! I had to 'cd' to the file. Thank you very much! –  Trufa Nov 25 '10 at 3:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.