Get the PID of _MY_ OpenConsole.exe? #20968

Open
opened 2026-01-31 07:29:16 +00:00 by claunia · 0 comments
Owner

Originally created by @vefatica on GitHub (Dec 8, 2023).

I think (could be wrong) that GetWindowThreadProcessId, used on the PseudoConsoleWindow class window, used to get the PID of OpenConsole.exe. In any event, that doesn't seem to be true now; it provides the PID of the shell process.

Is there a way to determine the PID of the OpenConsole.exe which the shell is using?

Thanks!

Originally created by @vefatica on GitHub (Dec 8, 2023). I think (could be wrong) that GetWindowThreadProcessId, used on the PseudoConsoleWindow class window, used to get the PID of OpenConsole.exe. In any event, that doesn't seem to be true now; it provides the PID of the shell process. Is there a way to determine the PID of the OpenConsole.exe which the shell is using? Thanks!
claunia added the Needs-TriageNeeds-Tag-Fix labels 2026-01-31 07:29:16 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#20968