httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: No such file or directory: couldn't spawn child process: ..
Date Fri, 28 Nov 1997 15:13:08 GMT
Martin Kraemer wrote:
> 
> When (under Win'95) trying to start CGI programs other than .exe, there
> seems to be a problem in the spawn() calls. Apparently, an association
> of a .tcl suffix which works fine when started from a DOS window does
> NOT work when started out of a ScriptAlias'ed /cgi-bin/ directory. The
> error log contains
> 
>   [error] (2)No such file or directory: couldn't spawn child process: c:/programme/apache/cgi-bin/dirxsurf.tcl
> 
> I see two problems:
> a) the errno seems to report the wrong error. Probably some Windoze
>    function must be called to retrieve the real failure reason.
> 
> b) the associated .tcl "Shell" program interpreter is not called
>    automatically. Possibly this means that we have to extract it from the
>    registry and try again if the first spawn() failed.
> 
> I neither know nor love the windoze API and structure, so bear with me
> when what I propose is pure nonsense.

Yeah - we don't support Shell associations, yet. We should.

Cheers,

Ben.

-- 
Ben Laurie            |Phone: +44 (181) 735 0686|Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|http://www.apache.org
and Technical Director|Email: ben@algroup.co.uk |Apache-SSL author
A.L. Digital Ltd,     |http://www.algroup.co.uk/Apache-SSL
London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache

Mime
View raw message