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: [EMAIL PROTECTED]
> From: George Herson <[EMAIL PROTECTED]>
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to