Re: Where do i look up return status codes?

From: Date: Wed, 21 Feb 2001 01:46:56 +0000
Subject: Re: Where do i look up return status codes?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-40873@lists.php.net to get a copy of this message
Thanks, that's what i thought. The perl script is mine so it must be the perl interpreter kicking out the code. But I have the definitive perl "camel" book and it doesn't list any numeric codes. i'd ask a perl forum about where i can look up error codes but this time i solved the problem. It was a safe_mode violation: /bin/perl was not in my safe_mode_exec_dir directory (as defined by php.ini). george Chris Carbaugh wrote: > I'm not familiar with perl, but I would said either the script it's self > is returning the code, or the perl interpreter. > > Chris > > On Tue, 20 Feb 2001, George Herson wrote: > > Date: Tue, 20 Feb 2001 12:13:35 -0500 > > To: php-general@lists.php.net > > From: George Herson <gherson@snet.net> > > Subject: [PHP] Where do i look up return status codes? > > > > How do i find out what the return status of an exec() executed > > command > > means? For example, i have the line > > > > $ciphertext = exec("perl /home/httpd/cgi-bin/passgen.pl > > $plaintext",$arr,$retstat); > > > > which makes $retstat = 126. > > > > thanks, > > geo > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: > > php-list-admin@lists.php.net > >

« previous php.general (#40873) next »