you can execute when creating tab
exp:
wt.exe -w 2 sp -V wsl.exe zsh -ic "l\; /bin/zsh"
but there is not way to execute when it's already created or i do sth wrong?
Environment
21322.1000
Windows 10 Feature Experience Pack 321.2906.0.3
wsl2
Linux DESKTOP-RRHRJSC 4.19.128-microsoft-standard #1 .... x86_64 x86_64 x86_64 GNU/Linux
Windows Terminal Preview 1.7.572.0
Steps to reproduce
wsl
wt.exe -w 2 focus-tab -t 3 /bin/bash -c 'ls'
Expected behavior
executes /bin/bash -c 'ls' in focused tab
or
introduce -exec flag that executes passed string
wt.exe -w 2 focus-tab -t 3 -exec "/bin/bash -c 'ls'"
Actual behavior
only focuses tab
you can execute when creating tab
exp:
wt.exe -w 2 sp -V wsl.exe zsh -ic "l\; /bin/zsh"but there is not way to execute when it's already created or i do sth wrong?
Environment
21322.1000
Windows 10 Feature Experience Pack 321.2906.0.3
wsl2
Linux DESKTOP-RRHRJSC 4.19.128-microsoft-standard #1 .... x86_64 x86_64 x86_64 GNU/Linux
Windows Terminal Preview 1.7.572.0
Steps to reproduce
wsl
wt.exe -w 2 focus-tab -t 3 /bin/bash -c 'ls'
Expected behavior
executes
/bin/bash -c 'ls'in focused tabor
introduce -exec flag that executes passed string
wt.exe -w 2 focus-tab -t 3 -exec "/bin/bash -c 'ls'"Actual behavior
only focuses tab