Hi,
My Config:
- Windows 98 SE (+ all WinUpdate-Patches)
- Apache 2.0.44 (+ apr-Patch)
- ActivePerl 5.8.0 (ActivePerl-5.8.0.804-MSWin32-x86.msi)
- mod_perl 1.99_09-dev ("ppm install
http://theoryx5.uwinnipeg.ca/ppms/mod_perl.ppd")
I have the following Problem:
When I call "system()" from a Perl-Script with a CommandLine
longer than (merged) about 128 Characters (not exact 128):
system('prog','1234567890123456789012345678901234567890
1234567890123456789012345678901234567890
1234567890123456789012345678901234567890
1234567890'); # In one line
-> then Perl does not execute the program, but the Apache-Console-Window
shows the DOS-Command-Prompt (as I started command.com),
and the Thread hangs, of course, and waits for input.
Microsoft(R) Windows 98
(C)Copyright Microsoft Corp 1981-1999.
C:\>
When I repeat this MaxThreads-times, Apache does not respond any more.
But:
- When I run the Perl-Script as CGI with Perl 5.8 it works fine.
- And also if I run ActivePerl-5.6.1.635 it works fine with mod_perl.
It seems to be a Bug in either mod_perl or Perl itself,
(Or a forgotton Workaround on a Windows-Bug *g*), i don't know.
Thanks
- Mark