help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] Command run in the background (with '&' at the end) stil


From: Chet Ramey
Subject: Re: [Help-bash] Command run in the background (with '&' at the end) still runs even when the user exit from the login shell?
Date: Sat, 14 Dec 2013 12:30:43 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.0.1

On 12/14/13, 1:41 AM, Bob Proulx wrote:

> I think if you could find a real Bourne shell without job control and
> try it then you would find that background jobs receive a SIGHUP and
> exit when the shell exits.  I think.  It has been quite a few years
> since I worked daily on a Bourne shell system without job control but
> that is how I remember it.

Yes.  It's the kernel, not the shell.

It's fairly easy to get a copy of the 7th Edition sh.

http://minnie.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/cmd/sh
is a pristine version.

http://www.collyer.net/who/geoff/v7sh.tar
is something that actually has a chance of compiling and running on some
modern systems.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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