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 
net_j
  • 205
  • 2
  • 9

1 Answers1

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
net_j
  • 205
  • 2
  • 9