Skip to content

Commit

Permalink
adding subprocess.PIPE for stdin on windows, per issue #44
Browse files Browse the repository at this point in the history
  • Loading branch information
vanrijn committed May 16, 2016
1 parent 35e90c4 commit 7ba2877
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cscope.py
Expand Up @@ -285,6 +285,7 @@ def run_cscope(self, mode, word):
}
if (self.platform == "windows"):
popen_arg_list["creationflags"] = 0x08000000
popen_arg_list["stdin"] = subprocess.PIPE

try:
proc = subprocess.Popen(cscope_arg_list, **popen_arg_list)
Expand Down

0 comments on commit 7ba2877

Please sign in to comment.