RE: [PHP] Startinga shell process with a life of its own
| From: | Daevid Vincent | Date: | Tue, 11 Jul 2006 06:44:03 +0000 |
| Subject: | RE: [PHP] Startinga shell process with a life of its own | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-239295@lists.php.net to get a copy of this message | ||
> On some machines, on some OSes, in some configurations, with some
> commands, tacking "&" onto the end of what you exec, will sometimes
> "work"...
Sadly, in even Linux, this will not work. PHP blocks on the call.
I've even tried to call out to a shell script which in turn uses & to call a
command.
Nope.
I wish PHP would add threading. We write enterprise level products with PHP,
and we end up using DBUS and letting Ruby do all the "real work".