Skip to content

Create new, hidden window when starting daemon on Windows#5994

Merged
emmatyping merged 1 commit into
python:masterfrom
emmatyping:windmypyhide
Dec 3, 2018
Merged

Create new, hidden window when starting daemon on Windows#5994
emmatyping merged 1 commit into
python:masterfrom
emmatyping:windmypyhide

Conversation

@emmatyping

Copy link
Copy Markdown
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).

@Michael0x2a Michael0x2a left a comment

Copy link
Copy Markdown
Collaborator

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
Copy Markdown
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