Re: Bug #14747: Return exitcodes to shell ($?)

From: Date: Sat, 29 Dec 2001 20:25:40 +0000
Subject: Re: Bug #14747: Return exitcodes to shell ($?)
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-75291@lists.php.net to get a copy of this message
On Fri, 28 Dec 2001, Vlad Krupin wrote: > consensus... well, it wasn't reached. I guess, the overloaded solution - > exit(string, int) - is the last thing that was proposed and not too many > people objected to. My understanding is that that's what will happen. Or > am I wrong again? The printing of the number will be removed in PHP 5. That was the consensus Andi and I reached :) Derick > > -being short this time- > > > Vlad > > Markus Fischer wrote: > > > Yo guys, > > > > Derick, Zeev, Everybody who participated in the discussions > > ... where were we now? :-) > > > > *smiles* - Markus > > > >On Fri, Dec 28, 2001 at 09:39:37PM -0000, bernd.herbold@gmx.de wrote : > > > >>From: bernd.herbold@gmx.de > >>Operating system: > >>PHP version: 4.1.1 > >>PHP Bug Type: Feature/Change Request > >>Bug description: Return exitcodes to shell ($?) > >> > >>Hi, > >> > >>I tried to use PHP in connection with shellprogramming. > >> > >>I would be fine if you could return exit codes to shellscripts. So that you > >>can use something like "if [ $? -eq 0 ]" to test if the PHP-Script had run > >>succesful. > >> > >>So wouldn`t need to use Perl in future. > >> > >> > >>-- > >>Edit bug report at: > >>http://bugs.php.net/?id=14747&edit=1 > >> > >> > >>-- > >>PHP Development Mailing List > >><http://www.php.net/> > >>To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > >>For additional commands, e-mail: php-dev-help@lists.php.net > >>To contact the list administrators, e-mail: php-list-admin@lists.php.net > >> > > > > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.dev (#75291) next »