bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: just too late telling me job terminated


From: Ralph Corderoy
Subject: Re: just too late telling me job terminated
Date: Fri, 12 Jul 2002 10:29:18 GMT

Hi Paul,

> > > <<Ctrl-Z>>
> > > [1]+  Stopped                 sh y
> > > $ kill %
> > > <<PS: why the blank line before these jobs messages?>>
> > > [1]+  Stopped                 sh y
> > > $ mail chet
> ..
> > > [1]+  Terminated              sh y
> >
> > I think bash is telling you what your OS is telling it.  Try `kill
> > -9 %' instead.
>
> I don't think that will make a difference.  The job apparently did die
> as a result of SIGTERM.  SIGKILL won't make it die any faster.

My thinking was SIGTERM can be caught by the shell, it can tidy up, then
quit.  bash might see some of that before the exit.  SIGKILL can't be
caught so bash gets to see the child process has quit all the sooner.

Could be wrong, but that was the reasoning.

Cheers,


Ralph.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]