0

On using gitpython on Windows with py2exe, every operation that is invoked by gitpython results in a cmd popup window. It seems to be that gitpython is using subprocess internally. Is there a way to specify the following equivalent in gitpython?

creationflags=win32process.CREATE_NO_WINDOW 

1 Answer 1

0

Found the solution. The way to solve this is to do this for gitpython is by setting before using the Git() object.

Git.USE_SHELL=True
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.