|
From: | Jason A. Donenfeld |
Subject: | Re: process substitution fd lifetime race condition |
Date: | Mon, 20 Apr 2020 15:49:50 -0600 |
This one will reproduce immediately: #!/bin/bash set -e a="my name is a" b="my name is b" sleep() { read -t "$1" -N 1 || true; } doit() { sleep 0.1; "$@"; } while true; do doit cat <(echo "$a") <(echo "$b") done
[Prev in Thread] | Current Thread | [Next in Thread] |