KEMBAR78
Create new, hidden window when starting daemon on Windows by emmatyping · Pull Request #5994 · python/mypy · GitHub
Skip to content

Conversation

emmatyping
Copy link
Member

Fixes #5991

Basically grandchildren could allocate new consoles, which we were somewhere. This changes things so we create a new console (which seems to detach us from the parent process...) but we create it hidden, so that it is invisible. For more, and the source for the solution, you might want to read python/cpython#4150 (comment).

Copy link
Collaborator

@Michael0x2a Michael0x2a left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried running this, and can confirm it fixes the problem -- thanks for the super-quick turnaround!

@emmatyping emmatyping merged commit 288b6bb into python:master Dec 3, 2018
@emmatyping emmatyping deleted the windmypyhide branch December 3, 2018 08:22
@emmatyping
Copy link
Member Author

You're welcome! It was definitely something I wanted to look into, but it never really bothered me that much. But now that I fixed it I could never go back :P

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants