Re: Using exec()

From: Date: Wed, 28 Jun 2000 15:11:00 +0000
Subject: Re: Using exec()
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-22633@lists.php.net to get a copy of this message
AL>> <?PHP AL>> exec(command,$array); AL>> ?> AL>> AL>> It works awesome, and does what I want to, but PHP seems to leave the AL>> command's process unfinished. In a zombie state. That's strange. pclose should wait for the process. Can you tell your OS, and exact sequence of commands that you are doing? AL>> Does anyone know of an alternate function, or a way of ending the AL>> process once the command output has been received? Well, you could possibly use posix_kill and murder the child... -- Stanislav Malyshev stas@zend.com +972-3-6139665

« previous php.dev (#22633) next »