> From: Mike Schroeder <[EMAIL PROTECTED]> > Organization: DonorWare LLC > Date: Tue, 14 Dec 2004 16:12:31 -0700 > To: <[EMAIL PROTECTED]> > Subject: PoCo::Child > > The PoCo::Child examples all use "ls" as the child program.
Mike, for examples of how to read/write, see the PoCo::Player components e.g. Mp3, Enc, Slideshow. > However, I'm not sure how to get rid of the thing! When I am done > sending info to the STDIN, I send a $c->quit(), (and checking the > process list the process is indeed gone), but something seems to be > hanging on -- POE won't wrap up and clean up after itself -- it just > hangs. I tried using PoCo::DebugShell, but PoCo::DebugShell and > PoCo::Child seem to fight over STDOUT: this likely has to do with the fact that ::Child is not closing the pipe... Philip Gwyn sent me a patch months ago but only now am I getting around to applying it. I should have something ready for release soon. will post to this list then. - ekkis