6 lines
122 B
Text
6 lines
122 B
Text
|
|
# make sure we can wait for the last process substitution, since it sets $!
|
||
|
|
cat <(exit 123) >/dev/null
|
||
|
|
|
||
|
|
wait "$!"
|
||
|
|
echo $?
|