[sf-perl] Weird IPC/Apache problem

Randy J. Ray rjray at blackperl.com
Tue Jan 19 16:57:53 PST 2010


Jonathan Swartz wrote:
> Could it be because mod_perl 2 closes STDOUT? I just discovered this and
> posted about it:

After trying some different combos of keywords in Google, I found that it's a
known thing that IPC::Open[23] don't work under Apache/mod_perl. I adapted the
code to use IPC::Run (which alas added itself and one other CPAN module to our
list of dependencies), and it is now working. I imagine that you are right
about the cause, but the people behind the MP2 API would have to judge as to
whether that's a bug or a feature.

Randy
-- 
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Randy J. Ray      Sunnyvale, CA      http://www.rjray.org   rjray at blackperl.com

Silicon Valley Scale Modelers: http://www.svsm.org


More information about the SanFrancisco-pm mailing list