bugfix where certain bins wouldn't respond to EOF
bugfix where certain bins wouldn't respond to EOF

namely python 3.1 and 3.2 wouldn't stop reading from their STDIN on the first
EOF..they needed a second

amoffat/sh,amoffat/sh