Heya! Hyper 3 Canary 8 on a new box will start 'cmd' by default. It took a moment to realise this as various pwsh commands kept failing.
select, where etc. rather than having to scrape thngs with regexsIdeally Hyper would look for powershell pwsh in $env:ProgramFiles'.\Powershell\<verson>, and fallback to powershell (included in Windows) if not found.
Powershell is actively maintained and frequently updated - cmd is unlikely to get any fixes in future
What makes you say that? cmd has been massively improved over the past couple years, after being mostly untouched for decades. Am I misunderstanding something?
"What makes you say that?"
I own the Windows Command-Line, inc. Cmd, and Console
"cmd has been massively improved over the past couple years"
Cmd (cmd.exe), (like PowerShell, bask, fish, zsh, etc.) is a shell. Shells performs the commands you type.
Windows Console (conhost.exe) is the UI application that you use to type commands into a shell or command-line application. Whether you run Cmd or PowerShell, or WSL, or ping.exe, etc., they all run attached to a Console application instance into which you type commands, and through which you view their output.
Please read my series of articles on this, starting here: https://devblogs.microsoft.com/commandline/windows-command-line-backgrounder/
Most helpful comment
I own the Windows Command-Line, inc. Cmd, and Console
Cmd (cmd.exe), (like PowerShell, bask, fish, zsh, etc.) is a shell. Shells performs the commands you type.
Windows Console (conhost.exe) is the UI application that you use to type commands into a shell or command-line application. Whether you run Cmd or PowerShell, or WSL, or ping.exe, etc., they all run attached to a Console application instance into which you type commands, and through which you view their output.
Please read my series of articles on this, starting here: https://devblogs.microsoft.com/commandline/windows-command-line-backgrounder/