Skip to content

Pass commands to new wt instance. Is this already supported? #4598

@ugreg

Description

@ugreg

Description of the new feature/enhancement

Like how I can open a new command prompt with a command arg passed start cmd.exe /k echo Hello, World.

This does not work using Windows Terminal preview start C:\Users\me\AppData\Local\Microsoft\WindowsApps\Microsoft.WindowsTerminal_8wekyb3d8bbwe\wt /k Hello, World

Proposed technical implementation details (optional)

Implement this using cmd.exe like syntax.
start C:\Users\me\AppData\Local\Microsoft\WindowsApps\Microsoft.WindowsTerminal_8wekyb3d8bbwe\wt /k Hello, World.

or even better start wt /k Hello, World.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-QuestionFor questions or discussionNeeds-Tag-FixDoesn't match tag requirementsResolution-AnsweredRelated to questions that have been answered

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions