diff options
author | Peter Stephenson <pws@zsh.org> | 2013-07-19 12:09:32 +0100 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2013-07-19 12:09:32 +0100 |
commit | cda21a28e6998bb3e6170a8f496b7563c8483ec6 (patch) | |
tree | cf5f17b8a71b41ee59602a1a01c34574d1f22034 /Test/D03procsubst.ztst | |
parent | 3c5732223f65309c6820f15b8519f674bd21185b (diff) | |
download | zsh-cda21a28e6998bb3e6170a8f496b7563c8483ec6.tar.gz zsh-cda21a28e6998bb3e6170a8f496b7563c8483ec6.tar.xz zsh-cda21a28e6998bb3e6170a8f496b7563c8483ec6.zip |
31536 with additions: Fix hang in previous process substitution fix.
Close applicable file descriptors when waiting for a job.
Diffstat (limited to 'Test/D03procsubst.ztst')
-rw-r--r-- | Test/D03procsubst.ztst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Test/D03procsubst.ztst b/Test/D03procsubst.ztst index 88fa902bb..c763f6e0f 100644 --- a/Test/D03procsubst.ztst +++ b/Test/D03procsubst.ztst @@ -107,3 +107,11 @@ >third: This becomes argument three >fourth: and this argument four + () { + # Make sure we don't close the file descriptor too early + eval 'print "Execute a complicated command first" | sed s/command/order/' + cat $1 + } <(echo This line was brought to you by the letters F and D) +0:Process substitution as anonymous function argument +>Execute a complicated order first +>This line was brought to you by the letters F and D |