Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specifying subprocess flags to disable popup of cmd in Windows environment #360

Closed
yocheah opened this issue Oct 26, 2015 · 2 comments
Closed

Comments

@yocheah
Copy link

yocheah commented Oct 26, 2015

I am using py2exe with gitpython and wondering if there is a way to specify a flag in gitpython's use of subprocess that disables the popup of cmd in the Windows environment, something like

creationflags=win32process.CREATE_NO_WINDOW

I originally posted my corresponding question here (http://stackoverflow.com/questions/33310791/disable-popup-of-cmd-windows-when-using-gitpython-and-py2exe)

@yocheah
Copy link
Author

yocheah commented Oct 27, 2015

Never mind about this. Found out that this can be resolved using Git.USE_SHELL=True

@yocheah yocheah closed this as completed Oct 27, 2015
@Byron
Copy link
Member

Byron commented Oct 28, 2015

Thanks for letting me know how the issue was solved - I had absolutely no idea how to fix it. Great to see you updated the stackoverflow question as well - maybe others will find it useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants