| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b719e18 commit b3f873a
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -12,7 +12,8 @@ | |||
| 12 | 12 | from subprocess import ( | |
| 13 | 13 | call, | |
| 14 | 14 | Popen, | |
| 15 | - PIPE | ||
| 15 | + PIPE, | ||
| 16 | + DEVNULL | ||
| 16 | 17 | ) | |
| 17 | 18 | import subprocess | |
| 18 | 19 | import threading | |
@@ -873,7 +874,7 @@ def execute(self, | |||
| 873 | 874 | env=env, | |
| 874 | 875 | cwd=cwd, | |
| 875 | 876 | bufsize=-1, | |
| 876 | - stdin=istream, | ||
| 877 | + stdin=istream or DEVNULL, | ||
| 877 | 878 | stderr=PIPE, | |
| 878 | 879 | stdout=stdout_sink, | |
| 879 | 880 | shell=shell is not None and shell or self.USE_SHELL, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments