On 1/24/18 3:38 AM, Tadeus Prastowo wrote:
> Hi!
> 
> To quote 
> https://www.gnu.org/software/bash/manual/html_node/Coprocesses.html#Coprocesses
> 
> "The file descriptors are not available in subshells."

The file descriptors are set to close-on-exec, so they're not available
to new processes, and closed explicitly when executing subshell commands
such as ( ... ) and asynchronous commands run with `&'.  Command and
process substitutions are created as exact copies of their parent, and
inherit the file descriptors.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to