help-bash
[Top][All Lists]
Advanced

[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 15:11:48 -0500

> I wrote a script that runs a bunch of tasks in parallel, but
> serializes their output as it they had ran in sequence.
> 
> Then I hit an weird bug and minified it to a testcase (available below).

You might want to run this using a system call tracer and see which
process modifies the terminal settings last.

-- 
``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/



reply via email to

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