I can start Windows Terminal with wt
. I have read the Windows Terminal documentation on command-line arguments, and it just covers passing an argument for setting up terminal panes, not passing in actual executable commands.
For example, a minimal reproducible example: Requires Windows Terminal installed:
Open a CMD prompt in Windows and type:
dir | wt
This starts Windows Terminal, but it does not receive the dir
command. How does one pass the executable command to Windows Terminal?