From:             [EMAIL PROTECTED]
Operating system: RedHat Linux 2.2.16
PHP version:      4.0.4pl1
PHP Bug Type:     *General Issues
Bug description:  Exec and system always return -1

I believe my problem has been described earlier as bug #7324
 but that bug has been closed, and I couldn't figure out how
to follow-up on a closed bug  ...so here comes:

It seems like exec and system calls always return -1.

Under 'User Contributed Notes' at
http://www.php.net/manual/en/function.exec.php
[EMAIL PROTECTED] writes:
'When I compiled php with "--enable-sigchild", all calls to
exec set return_var to -1. When I recompiled without
"--enable-sigchild", all calles to exec set return_var to
the expected value.'

My PHP is compiled with "--enable-sigchild". I haven't tried
without it.

I have put some test-code at
http://intra.dipcard.com/people/tlk/return-values/.


regards Thomas L. Kjeldsen


-- 
Edit Bug report at: http://bugs.php.net/?id=10364&edit=1



-- 
PHP Development 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