Keep external CLIs in Windows Terminal interface #8695

Closed
opened 2026-01-31 01:35:43 +00:00 by claunia · 1 comment
Owner

Originally created by @jaandersonck on GitHub (May 30, 2020).

Keep external CLIs, like DiskPart inside the Windows Terminal interface rather than opening up the diskpart interface resembling command prompt.

This would make using Windows Terminal a more oragnized and consistant experience, because you could access all types of CLIs in a single app, Windows Terminal, like DiskPart.

By opening separate external CLIs (like DiskPart) in Windows Terminal, they should stay contained inside the tab that the CLI was opened in, similar to how in C# you use UseShellExecute = false to execute the process in the same console Window.

Originally created by @jaandersonck on GitHub (May 30, 2020). Keep external CLIs, like DiskPart inside the Windows Terminal interface rather than opening up the diskpart interface resembling command prompt. This would make using Windows Terminal a more oragnized and consistant experience, because you could access all types of CLIs in a single app, Windows Terminal, like DiskPart. By opening separate external CLIs (like DiskPart) in Windows Terminal, they should stay contained inside the tab that the CLI was opened in, similar to how in C# you use UseShellExecute = false to execute the process in the same console Window.
Author
Owner

@zadjii-msft commented on GitHub (Jun 1, 2020):

Looks like the only reason that diskpart runs in an external console window is because it self-elevates. If you simply run diskpart from an already elevated Terminal instance, it'll run in the existing window:

image

See also #1032

@zadjii-msft commented on GitHub (Jun 1, 2020): Looks like the only reason that `diskpart` runs in an external console window is because it self-elevates. If you simply run `diskpart` from an already elevated Terminal instance, it'll run in the existing window: ![image](https://user-images.githubusercontent.com/18356694/83408760-d0d36600-a3d8-11ea-973d-622e9582ab0b.png) See also #1032
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#8695