On Thu, 26 Feb 2004, Eric Wilhelm wrote:

> >In Inline::Octave, I start a child octave process with IPC::Open3.
> >I want to be able to catch the case when that child process dies,
> >so I want to have a SIG{CHLD}. However, now any other processes
> >forked will get reap_interpreter called. I don't want this.
>
> It looks like you can declare them as local(), and they should go back to the
> defaults after you've left the block:

Unfortunately, local doesn't help in this case. The interpreter is started
in the 'use Inline Octave' and ends as perl quits. The user in this case
wants to call system in the middle of this. Thus the IG{CHLD} handler
is getting called when system returns.

Andy

Reply via email to