Re: system() vs exec()

From: Date: Wed, 05 Sep 2001 07:05:54 +0000
Subject: Re: system() vs exec()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-66002@lists.php.net to get a copy of this message
> The system() call will flush the headers to the client while exec() won't, Yes. > but exec() won't wait until the system call is over. Huh? Exec waits unless the call itself forks using & to do something in the background. > Is there a way to make a system call, and wait until it ends, but don't send the headers to > the client? Maybe you can get what you want, whatever it is, with this: http://php.net/manual/en/function.ob-start.php -- WARNING richard@zend.com address is an endangered species -- Use ceo@l-i-e.com Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm

« previous php.general (#66002) next »