You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/04/26 21:34:07 UTC

DO NOT REPLY [Bug 8568] New: - Perl: couldn't spawn child process, when '.exe' is not appended to shebang

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8568>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8568

Perl: couldn't spawn child process, when '.exe' is not appended to shebang

           Summary: Perl: couldn't spawn child process, when '.exe' is not
                    appended to shebang
           Product: Apache httpd-2.0
           Version: 2.0.35
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_cgi
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: Data_Soong@gmx.net


When executing a Perl Script under Windows, that has a shebag line like
#!/usr/bin/perl
one get's an error message 'couldn't spawn child process'.

It only works when manually appending '.exe' to the shebang :(

The old Apache (1.3.x) didn't have this issue, it normally ran the Perl script, 
without such a manual alteration (This was very good, as one could use the same 
Perl-files under Windows, UNIX, etc. - without having to change anything [the 
only thing one needed to do, was to initially set-up Apache & Perl in the same 
directory structure as on a unix system])

I hope this issue can be resolved (So one can use Apache 2.x again - I've 
currently downgraded to 1.3.x due to this issue...)

Thanks!