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

Hide subprocess windows for windows os #47302

Merged
merged 1 commit into from Feb 23, 2021

Conversation

itmo153277
Copy link
Contributor

Unlike Linux-based operating systems, Windows will create a new console for a child process if the parent is a GUI application.

This causes console window flashes when ptxas is called if the process that loaded tensorflow.dll is running in GUI mode.

This PR makes children's windows hidden by default.

As tensorflow does not start any GUI programs, it should not cause any bad effect.

Console mode is not affected.

@google-ml-butler google-ml-butler bot added the size:XS CL Change Size: Extra Small label Feb 22, 2021
@google-cla google-cla bot added the cla: yes label Feb 22, 2021
@gbaned gbaned self-assigned this Feb 22, 2021
@gbaned gbaned added the comp:core issues related to core part of tensorflow label Feb 22, 2021
@gbaned gbaned added this to Assigned Reviewer in PR Queue via automation Feb 22, 2021
PR Queue automation moved this from Assigned Reviewer to Approved by Reviewer Feb 22, 2021
@google-ml-butler google-ml-butler bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Feb 22, 2021
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Feb 22, 2021
@copybara-service copybara-service bot merged commit 0d3e682 into tensorflow:master Feb 23, 2021
PR Queue automation moved this from Approved by Reviewer to Merged Feb 23, 2021
@itmo153277 itmo153277 deleted the fix_console_flash branch February 23, 2021 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes comp:core issues related to core part of tensorflow ready to pull PR ready for merge process size:XS CL Change Size: Extra Small
Projects
PR Queue
  
Merged
Development

Successfully merging this pull request may close these issues.

None yet

4 participants