I am using the wt.exe CLI to run some WSL commands in a new tab. However, I seem to be getting some weird error when using Fish shell.
The command:
wt.exe --window 0 new-tab -p Ubuntu /usr/bin/fish -C "cd /"
This starts a new tab but it has the following error:
[error 2147942402 (0x80070002) when launching `"cd /"']
I know I can use the -d
flag to set the starting directory, but the cd /
is just a placeholder command for the example, the actual command would be different.