diff options
author | BoppreH <boppreh@gmail.com> | 2013-10-17 21:47:55 -0300 |
---|---|---|
committer | BoppreH <boppreh@gmail.com> | 2013-10-17 21:47:55 -0300 |
commit | 3f277ba01f9a93fb040a365eef80f46ce6a9de85 (patch) | |
tree | be02481aabb9459e185f420e66c958005f766805 /git/cmd.py | |
parent | 0b820e617ab21b372394bf12129c30174f57c5d7 (diff) | |
download | gitpython-3f277ba01f9a93fb040a365eef80f46ce6a9de85.tar.gz |
Avoid spawning console windows when running from .pyw
By adding `shell=True,` to the list of Popen parameters, we avoid spawning console windows when scripts call this method from a windowless (.pyw) Python script.
Diffstat (limited to 'git/cmd.py')
-rw-r--r-- | git/cmd.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -336,6 +336,7 @@ class Git(LazyMixin): stderr=PIPE, stdout=PIPE, close_fds=(os.name=='posix'),# unsupported on linux + shell=True, **subprocess_kwargs ) if as_process: |