Jump to content

PHP shell_exec hanging


hehachris

Recommended Posts

I use shell_exec to execute a mongrel command:

[code]shell_exec('mongrel_rails -c /path -d');[/code]

The command is executed correctly, b the script keeps hanging and doesnt want to continue.

I have tried putting '>/dev/null 2>&1' or  '2>&1' at th end of the command with no luck.

Any advise would be appreciated.
Link to comment
https://forums.phpfreaks.com/topic/33893-php-shell_exec-hanging/
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.