[PR #15822] Add --appendCommandLine flag for appending to command #30744

Open
opened 2026-01-31 09:42:42 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/15822

State: closed
Merged: Yes


Added --appendCommandLine flag that when set, appends the command to the preset command in the profile instead of replacing it.

Previously, there was no good way to launch wt while running a command appended to the set command in the profile. Some uses include profiles that are set to login or start an application.

Additional comments: Looking for a review, and expecting additional changes that needs to be done. For example, I am not really sure on how to include the the option's information in the CallForHelp() screen. Also, would be great if someone could guide me on including tests for this new feature. Thanks!

Closes #5528

**Original Pull Request:** https://github.com/microsoft/terminal/pull/15822 **State:** closed **Merged:** Yes --- Added --appendCommandLine flag that when set, appends the command to the preset command in the profile instead of replacing it. Previously, there was no good way to launch wt while running a command appended to the set command in the profile. Some uses include profiles that are set to login or start an application. Additional comments: Looking for a review, and expecting additional changes that needs to be done. For example, I am not really sure on how to include the the option's information in the CallForHelp() screen. Also, would be great if someone could guide me on including tests for this new feature. Thanks! Closes #5528
claunia added the pull-request label 2026-01-31 09:42:42 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#30744