diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2007-05-23 11:21:10 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2007-05-23 11:21:10 +0000 |
commit | fcd2c9243fcb0e29098da9d9f815373d73d6b192 (patch) | |
tree | a746b18e3daf7fcb413f32d0055a1504e04e7527 /Test | |
parent | 31178db2ccaf8865b7135caa772f5a186e926a8d (diff) | |
download | zsh-fcd2c9243fcb0e29098da9d9f815373d73d6b192.tar.gz zsh-fcd2c9243fcb0e29098da9d9f815373d73d6b192.tar.xz zsh-fcd2c9243fcb0e29098da9d9f815373d73d6b192.zip |
23460: fix problem with ( stuff ) >multio1 >multio2
Diffstat (limited to 'Test')
-rw-r--r-- | Test/E01options.ztst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Test/E01options.ztst b/Test/E01options.ztst index 1fbe0cc93..0ce82b3ab 100644 --- a/Test/E01options.ztst +++ b/Test/E01options.ztst @@ -655,6 +655,18 @@ >This is in1 >This is in2 +# This is trickier than it looks. There's a hack at the end of +# execcmd() to catch the multio processes attached to the +# subshell, which otherwise sort of get lost in the general turmoil. +# Without that, the multios aren't synchronous with the subshell +# or the main shell starting the "cat", so the output files appear +# empty. + setopt multios + ( echo hello ) >multio_out1 >multio_out2 && cat multio_out* +0:Multios attached to a subshell +>hello +>hello + # tried this with other things, but not on its own, so much. unsetopt nomatch print with nonomatch: flooble* |