------art_8611_17427198.1211383370622
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Wed, May 21, 2008 at 9:15 AM, Artem Kazakov <kazakov / gmail.com> wrote:

> Hi Gurus :)
>
> Here is the problem:
> I need to gather the output from an external program.
> So in my code I do:
>      result << `#{@caputackt} #{@channel} #{ackt}`
>
> but the script stops at this line, and when I do ps I get
> ps aux | grep caput
> tyoma     5310   0.0  0.0   599780    460 s003  R+   11:57PM   0:00.00
> grep caput
> tyoma     5305   0.0  0.0        0      0 s002  Z+   11:57PM   0:00.00
> (caputackt)
>
> so how is it possible ? and what to do ?
>
>
>
Always Kill You Children!

Basically you are spawning a child process here and your script is
terminating before the child process does.  Therefore you get a Zombie.  At
least that's what it sounds like to me from your description.

-- 
"Hey brother Christian with your high and mighty errand, Your actions speak
so loud, I can't hear a word you're saying."

-Greg Graffin (Bad Religion)

------art_8611_17427198.1211383370622--