Matthew Woehlke wrote: > $ some-command & > $ ^D > (bash exits, leaving some-command running) > > Is this what is supposed to happen? Just asking because it made me go > "huh?"; I was expecting some-command to get SIGHUP'd.
Yes, that's what's supposed to happen. How could you run daemons from the command line otherwise? You can use the `huponexit' shell option, but that's only in effect for interactive login shells. Also, by default, the shell looks for stopped jobs when it exits (or running jobs with the `checkjobs' option enabled) and reports them. This allows you to send them a HUP if you want. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/