Descriptioncgi: close stdout reader pipe when finished
This causes the child, if still writing, to get an error or
SIGPIPE and most likely exit so our subsequent wait can
finish.
A more guaranteed fix would be putting a time limit on the
child's overall execution, but this fixes the problem
I was having.
Fixes issue 2059
Patch Set 1 #Patch Set 2 : diff -r 81e9259d59df https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 81e9259d59df https://go.googlecode.com/hg/ #
Total comments: 1
Patch Set 4 : diff -r 81e9259d59df https://go.googlecode.com/hg/ #Patch Set 5 : diff -r b0e964c2f715 https://go.googlecode.com/hg/ #
Total comments: 1
Patch Set 6 : diff -r f4dbaa62bdf9 https://go.googlecode.com/hg/ #
MessagesTotal messages: 7
|