why does exec() use the shell?
| From: | Lawrence Greenfield | Date: | Mon, 10 Jun 2002 17:34:58 +0000 |
| Subject: | why does exec() use the shell? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-85092@lists.php.net to get a copy of this message | ||
Hi,
Looking through the PHP documentation, I see that exec() invokes the
shell. Why is this? There's already a function that invokes the
shell (with all associated costs and security holes). Why does PHP
need two?
Is there any way of invoking programs without involving the shell?
Larry