View Full Version : Cant run c++ file through shell

July 14th, 2010, 07:59 PM
Well the situation is, I`m trying to run compiled c++ file through myShell.sh file which is called with help of shell_exec(). I get my return value from myShell.sh, but the c++ file which I have compiled previously and which I want to run in myShell.sh isn`t running. I also tried to run it from shell_exec() function and unsuccessfully.

I`m using lampp, it includes apache 2, if that matters. Maybe there could be some problems with permissions, since the c++ file is uploaded and has no owner.

I would appreciate a help. :)