I believe you can use Wheel::Run and theres a CloseEvent or the like
On 1/20/07, Kevin Scaldeferri <[EMAIL PROTECTED]> wrote:
I figure I can write this myself easily enough, but I'm wondering if there's a module already for this task. I want to run command-line functions which I know to be non-interactive. Of course, POE::Wheel::Run and POE::Component::Child can do this, but their interfaces are overly complicated for what I need in this application. I'm not expecting to need to write anything to the child process, so rather than incrementally receiving data from stdout and stderr, I'd rather just defer until the process terminates and then have a single callback called with all the stdout and all the stderr and the exit code. Am I missing a module that does this already? Thanks, -kevin
