[Catalyst] Executing external applications from catalyst.
Jesper Krogh
jesper at krogh.cc
Wed Dec 14 11:40:15 CET 2005
> I have a few perlmodules that executes external applications using
> IPC::Open3
>
> my ($OUT,$ERR,$WRT); $pid = open3($WRT,$OUT,$ERR, $cmd);
>
> But when I use this from within catalyst the output buffer seems to end
> up somewhere else than in $OUT.
Further debugging shows that IPC::Open2, IPC::Open3, Proc::Reliable
(probably the same) all doesn't work from within catalyst.
Backtics and
open STATUS,"cmd |";
both works.
Jesper
--
Jesper Krogh
More information about the Catalyst
mailing list