[Top][All Lists]

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

Re: signal propogation to backgrounded subshells

From: Andreas Schwab
Subject: Re: signal propogation to backgrounded subshells
Date: Tue, 06 Mar 2007 22:25:59 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux)

Jeff Weber <address@hidden> writes:

> 1) since the background job is started by one non-interactive script, and 
> killed by another non-interactive script, job control does not enter into the 
> solution.

Without job control you won't get a separate process group.  Interactivity
and job control are orthogonal concepts.

> If the process group of the background job could be returned or queried when 
> the background job is launched,

That's what $! is for.

> Please let me know if I am misunderstanding, and thanks for your help.

Don't top post.


Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

reply via email to

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