develooper Front page | perl.perl5.porters | Postings from February 2007

Re: system() behavior with $SIG{CHLD} = IGNORE (was Re: [perl #36976])

Thread Previous | Thread Next
From:
Rick Delaney
Date:
February 7, 2007 13:57
Subject:
Re: system() behavior with $SIG{CHLD} = IGNORE (was Re: [perl #36976])
Message ID:
20070207215728.GA26648@bort.ca
On Feb 06 2007, Alan Ferrency wrote:
> Okay, what do you think of these alternate approaches:
> 
> 1. "wait() works correctly; system() doesn't."

Maybe.  Or maybe $SIG{CHLD} = 'IGNORE' doesn't work.  It looks like a
lot of this discussion has been had before with bug #18849.  Is it
possible that the problem you are running into currently is related to
this bug and Perl is not doing the right thing wrt SA_NOCLDWAIT on your
failing platforms?

What behaviour do you get now with your C code in the bug db?

    http://rt.perl.org/rt3/Public/Bug/Display.html?id=18849

-- 
Rick Delaney
rick@bort.ca

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About