$SIG{CHLD} and system
From: Heinrich Mislik (Heinrich.Mislik_at_univie.ac.at)
Date: 09/30/04
- Next message: Robert Nilsson: ""su -" in CGI script ?"
- Previous message: Paul Lalli: "Re: Odd sort() problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Sep 2004 12:41:04 GMT
perl -e '$SIG{CHLD} = "IGNORE";system("date") and die'
gives me
Thu Sep 30 14:34:22 MSZ 2004
Died at -e line 1.
I can understand, why this happens. But is it documented? Shouldn't system
set up it's own signalhandlers? The function system in C does so. Does this mean, that perl does not call this function?
Any thoughts
Cheers
-- Heinrich Mislik Zentraler Informatikdienst der Universitaet Wien A-1010 Wien, Universitaetsstrasse 7 Tel.: (+43 1) 4277-14056, Fax: (+43 1) 4277-9140
- Next message: Robert Nilsson: ""su -" in CGI script ?"
- Previous message: Paul Lalli: "Re: Odd sort() problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]