in reply to Re^9: mod_perl, prefork mpm and alarms
in thread mod_perl, prefork mpm and alarms
For those interested, the fix that perrin refers to above is as follows:
Found this somewhere back when this bug first appeared in mod_perl:
# work-around for mod_perl my $tie_stdin = tied *STDIN; untie *STDIN if $tie_stdin; # insert open2() or open3() statement after the above
Gerald,
It is a mod_perl bug, but I would consider putting it in the FAQ. Would probably be very helpful to people.
I started work on converting the existing code to use IPC::Run, but hadn't finished by the end of the day today .. so I may put that on hold and try this fix instead.
++beer!
Update: Added clarification in first paragraph as to the source of the fix.
|
|---|