Re: Bug: Failure if stdin is closed.

2013-07-11 Thread Dale Worley
> From: Thomas Rast > May I ask why you need this, and to what extent this problem cannot be > solved by instead redirecting from/to /dev/null? The situation in which the problem arose is described here: > wor...@alum.mit.edu (Dale R. Worley) writes: > > > (The original problem and the discuss

Re: Bug: Failure if stdin is closed.

2013-07-11 Thread Thomas Rast
wor...@alum.mit.edu (Dale R. Worley) writes: > (The original problem and the discussion that ensued is on the > git-users mailing list: > https://groups.google.com/forum/#!topic/git-users/lNQ7Cn35EqA) > > "git commit" (and probably other operations) fail if standard input > (fd 0) is closed when g

Bug: Failure if stdin is closed.

2013-07-11 Thread Dale R. Worley
(The original problem and the discussion that ensued is on the git-users mailing list: https://groups.google.com/forum/#!topic/git-users/lNQ7Cn35EqA) "git commit" (and probably other operations) fail if standard input (fd 0) is closed when git starts. A simple test case follows. (The execution i