Try Program => [ $program ].
POE::Wheel::Run tries to preserve Perl's exec() semantics. So if Program is an arrayref, it's executed as exec(@$program). This bypasses the the shell -c (which is actually supplied by Perl's exec()).
This is documented under the Program parameter in POE::Wheel::Run.
I hope this helps.
In reply to Re: database query with POE::Wheel::Run
by rcaputo
in thread database query with POE::Wheel::Run
by former33t
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |