in reply to database query with POE::Wheel::Run
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: database query with POE::Wheel::Run
by finidi20 (Initiate) on Oct 08, 2013 at 00:51 UTC | |
by rcaputo (Chaplain) on Sep 25, 2016 at 06:09 UTC |