[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] Difference for SIGINT between subshells and external pro
From: |
Chet Ramey |
Subject: |
Re: [Help-bash] Difference for SIGINT between subshells and external programs? |
Date: |
Fri, 7 Dec 2018 09:47:10 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.3.2 |
On 12/6/18 11:22 PM, Peng Yu wrote:
> I am trying to understand what "asynchronous commands" refer to in the
> above text. Does it just refer to external commands run with "&" at
> the end, and subshell is not included?
Asynchronous means commands for which the shell does not wait to complete
before proceding with the next command. It's captured in the grammar as
`asynchronous lists':
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_03_02
It's commands terminated with `&' and, in bash, coprocesses and process
substitution.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU address@hidden http://tiswww.cwru.edu/~chet/