aboutsummaryrefslogtreecommitdiff
path: root/jim-array.c
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2016-03-27 13:30:25 +1000
committerSteve Bennett <steveb@workware.net.au>2016-03-27 13:34:40 +1000
commitc2e1a3bcbbb25a09fca7c27c2d518f3601b8e2b1 (patch)
tree4fb28a14bc1a9e447854e6be15293a51e3d1535b /jim-array.c
parent62f87df83456d87289f3e01f97009c0a806e5fcb (diff)
downloadjimtcl-c2e1a3bcbbb25a09fca7c27c2d518f3601b8e2b1.zip
jimtcl-c2e1a3bcbbb25a09fca7c27c2d518f3601b8e2b1.tar.gz
jimtcl-c2e1a3bcbbb25a09fca7c27c2d518f3601b8e2b1.tar.bz2
exec: read output from pipe before waiting for children
It is necessary to read output from the pipe before waiting for children to exit to avoid the output filling up and blocking. The error results still needs to be read after the children have exited, since it is read from a temp file, not a pipe. Increase the length of the input to test exec-8.1 to catch the problem. Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim-array.c')
0 files changed, 0 insertions, 0 deletions