-
Notifications
You must be signed in to change notification settings - Fork 9k
Closed
Labels
Issue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.Complex enough to require an in depth planning process and actual budgeted, scheduled work.Needs-Tag-FixDoesn't match tag requirementsDoesn't match tag requirementsResolution-Won't-FixWe're just really obstinate about this. There's probably a good reason.We're just really obstinate about this. There's probably a good reason.
Description
Description of the new feature/enhancement
I'd like a way to identify the process ID associated with a Windows Terminal session. In PowerShell, I can see the session and profile ID variables. And it is easy enough to run Get-Process and find the Windows Terminal process. But what if there are 2 instances running? How can I tell which ID goes with which?
Proposed technical implementation details (optional)
PowerShell has a built-in variable $pid that helps me identify the current PowerShell process. It would be nice to either create a variable like $wtpid. Or add another environment variable that identifies the process ID of this Windows Terminal instance.
Metadata
Metadata
Assignees
Labels
Issue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.Complex enough to require an in depth planning process and actual budgeted, scheduled work.Needs-Tag-FixDoesn't match tag requirementsDoesn't match tag requirementsResolution-Won't-FixWe're just really obstinate about this. There's probably a good reason.We're just really obstinate about this. There's probably a good reason.