On 2022-12-05 16:17, Bart Schaefer wrote:
$(...) spawns a subshell because stdin/stdout text is passed from one process to another using pipes, and if a process has a pipe to itself it can deadlock trying to read something it hasn't written yet (or write something there isn't room for because not enough has been read yet).
Yeah I remember we discussed it. It doesn't stick because I don't really understand it. As just now, one can do it the forking way or one can do it in the one shell, and the later works fine, so the former is obviously not needed. But, not knowing the guts, I can only make the most superficial comments. As you say, traffic control could mandate things that might not be desirable from the point of view of speed.