Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16203 > unrolled thread

Re: process substitution fd lifetime race condition

Started by"Jason A. Donenfeld" <Jason@zx2c4.com>
First post2020-04-20 15:43 -0600
Last post2020-04-20 15:43 -0600
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: process substitution fd lifetime race condition "Jason A. Donenfeld" <Jason@zx2c4.com> - 2020-04-20 15:43 -0600

#16203 — Re: process substitution fd lifetime race condition

From"Jason A. Donenfeld" <Jason@zx2c4.com>
Date2020-04-20 15:43 -0600
SubjectRe: process substitution fd lifetime race condition
Message-ID<mailman.836.1587419036.3066.bug-bash@gnu.org>
Here's a simpler reproducer:

set -e
a="my name is a"
b="my name is b"
pretty() { echo -e "\x1b[0m"; }
doit() { pretty; "$@"; }
while true; do
   doit cat <(echo "$a") <(echo "$b")
done

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web