Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b719e18 commit b3f873aCopy full SHA for b3f873a
git/cmd.py
@@ -12,7 +12,8 @@
12
from subprocess import (
13
call,
14
Popen,
15
- PIPE
+ PIPE,
16
+ DEVNULL
17
)
18
import subprocess
19
import threading
@@ -873,7 +874,7 @@ def execute(self,
873
874
env=env,
875
cwd=cwd,
876
bufsize=-1,
- stdin=istream,
877
+ stdin=istream or DEVNULL,
878
stderr=PIPE,
879
stdout=stdout_sink,
880
shell=shell is not None and shell or self.USE_SHELL,
0 commit comments