[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

wait and procsubs

From: isabella parakiss
Subject: wait and procsubs
Date: Tue, 11 Oct 2016 07:50:12 +0200

wait doesn't wait for procsubs unless it's passed the pid as an argument

$ time { : <(sleep 1); wait; }
real: 0m0.002s, user: 0m0.000s, sys: 0m0.003s
$ time { : <(sleep 1); wait $!; }
real: 0m1.011s, user: 0m0.003s, sys: 0m0.007s

is this intended or is it a bug?

this also means it's impossible to wait for both y and z in x <(y) <(z)

xoxo iza

reply via email to

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