2 ms·
> There’s a new shell now, called PowerShell, to run inside your terrible 1980s terminal window, but the terminal it’s running inside, still sucks. Well no, PS
by justsomehnguy 5y ago
> There’s a new shell now, called PowerShell, to run inside your terrible 1980s terminal window, but the terminal it’s running inside, still sucks.
Well no, PS and pwsh has their own terminals.
- DHowett 5y agoAll 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.