You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ha...@ooo.lanl.gov> on 1995/03/10 00:02:39 UTC
HP and cgi-script children
Anyone know if this is a bug in the HP version of httpd..
If I call a perl script from httpd, and it executes an
external command e.g. with system or ``, the status of
the called command comes back incorrect.
I suspect than the HP httpd is waiting on the exit signal of
the cgi child process, and taking it before the perl script
has a chance to catch it. The response I get is 65535 which
the wait man page says is caused by the parent finding the
child to have stopped already.
Anyone have ideas on that ?
It works fine via a Sunos httpd.
rob h