Skip to content

Add support for send-input subcommand #9368

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-Commandlinewt.exe's commandline argumentsIssue-TaskIt's a feature request, but it doesn't really need a major design.Needs-Tag-FixDoesn't match tag requirementsProduct-TerminalThe new Windows Terminal.

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions