Re: background process in command substitution

2020-10-07 Thread Chet Ramey
On 10/7/20 10:39 AM, Hyunho Cho wrote: > There are cases that need not wait until background process finish Thanks. I'll look at this for a future version. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech,

background process in command substitution

2020-10-07 Thread Hyunho Cho
There are cases that need not wait until background process finish -- In this case, zsh and bash wait 3 seconds to finish the assignment operation. because sleep command's STDOUT is the pipe of command substitution. < zsh > $ A