Explicitly close stdin for subprocesses
Explicitly close stdin for subprocesses

One reason to do that is because any prompts would be invisible, since
we're intercepting the stdout and stderr.

Another (and main reason) to do this is that I'm getting weird "0: Bad
file descriptor" errors from git-submodule on Appveyor.

mauritsvanrees/check-manifest,mgedmin/check-manifest