Calling a shell script from php

Hi,

I have a shell script and I'm trying to execute it from my php script. The command I'm using is:

shell_exec("Script.sh");

Is this correct? It seems to not do anything for me. Not sure if this might be a permission issue or not. I have both scripts 777 permissions. Maybe I got the command wrong?

does the shell script work when you run it manually?

you can find more about shell_exec here