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

Pass real server process handle to the terminal during handoff #17288

Closed

Conversation

tusharsnx
Copy link
Contributor

@tusharsnx tusharsnx commented May 18, 2024

Validation Steps Performed

  • Double-clicking a .exe opens the terminal.
  • Open WT and run a few commands. Didn't see any problems.

@tusharsnx tusharsnx changed the title Pass real process handle of the server to the terminal during handoff Pass real server process handle to the terminal during handoff May 18, 2024
@DHowett
Copy link
Member

DHowett commented May 19, 2024

Is there a specific issue that this fixes? As far as I understand it, the handle marshaling code will DuplicateHandle on our behalf..

@tusharsnx
Copy link
Contributor Author

Oh, I'm sorry I didn't realize marshaling automatically does this for us.

FWIW, I can confirm that indeed the handle received by the terminal is correct and points to the specific openconsole.exe it is talking to.

@tusharsnx tusharsnx closed this May 20, 2024
@tusharsnx tusharsnx deleted the fix-openconsole-process-handle branch May 20, 2024 08:10
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.

None yet

2 participants