3 ms·
All console subsystem executables on Windows are hosted by the same application (today known as “conhost”[2],) which provides the UI and terminal emulation faci
by DHowett 5y ago
All console subsystem executables on Windows are hosted by the same application (today known as “conhost”[2],) which provides the UI and terminal emulation facilities and implements the Win32 console APIs.
PowerShell, therefore, uses the same console host as the legacy Command Prompt does[1]. It just styles it differently.
[1]: The version of PowerShell that comes with windows also ships with something called the “PowerShell ISE,” which is a different UI for PowerShell that offers no terminal emulation capabilities and bears only a passing resemblance to a console window.
[2]: it used to be part of CSRSS, but in Windows 7 it became a standalone application.
- justsomehnguy 5y ago> technically correct, the best kind of correct While this is true, the UX of PS/pwsh and default cmd differs enough what to me their behaviour is differs enough to treat them differently.