Jump to content

Executing binaries with shell_exec() ...?


void

Recommended Posts

Hi there,

 

i've got a problem with shell_exec(). the function itself works just fine, but i can't get it to execute a c++ compiled file.

what i'm trying to do is running shell_exec("./program.out"), but it returns no output, not even an error or some kind. the script doesn't do it's job, also.

 

What could possibly be wrong?

 

Thanks in advance.

Link to comment
https://forums.phpfreaks.com/topic/119289-executing-binaries-with-shell_exec/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.