[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] Mixing background tasks with input redirection somehow u
From: |
Chet Ramey |
Subject: |
Re: [Help-bash] Mixing background tasks with input redirection somehow unsets stty's icanon and echo |
Date: |
Thu, 22 Dec 2016 18:45:59 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 |
On 12/22/16 4:43 PM, João Eiras wrote:
> We can see both background processes setting the flags, and the second
> one (24554) does not restore the original values but sets again the
> altered values. The second grep shows they are all bash processes.
They're not bash processes; they're nmap processes. Bash forks and execs
nmap.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/