24 Ekim 2022 Pazartesi tarihinde Emanuele Torre <torreemanue...@gmail.com> yazdı: > > To inhibit this optimisation, you can wrap your subshell compound > command (or simple command) in a group command, and apply the > redirections to it instead of the subshell command: > > { (: & wait) ;} > >(cat) > > Or, in your specific case, use "$!" to only wait for the most recent > background job. > > (: & wait -- "$!") > >(cat) >
Thanks, I'm not looking for a workaround. -- Oğuz