On Mon, 12 Feb 2001, Jonathan Wilson wrote:

> At 08:25 PM 2/10/2001 -0800, you wrote:
> >On Sat, 10 Feb 2001, Jonathan Wilson wrote:
> >
> >> I wonder if someone could help with a script I'm trying to
> >> write.  What this script does is rebuild a src.rpm in
> >> every possible architecture, and report if it's successful
> >> or not, as well as log the output.  While writing it I
> >> discovered that hitting ^C gave my the prompt back, but
> >> didn't kill all the sub-processes. If I did ps -u I'd
> >> still see rpm, make, gcc and other things running away:
> >>
> >
> >Try:
> >
> >        trap 'kill 0' 0 1 2 3
> >
> >This should cleanup all the children.

huh?  i understand all of the above except for the "kill 0" command.
what does it mean to say "kill 0"?  what signal is being sent to
what, exactly?

rday

-- 
Robert P. J. Day
Eno River Technologies, Durham NC
Unix, Linux and Open Source training


"This is Microsoft technical support.  How may I misinform you?"



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to