-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] How to send command line to the console of a profile #16062
Comments
@zadjii-msft |
Oh, I think you're just doing it wrong here. I suspect what you're trying to do is the When you call So, you'll either want
|
@zadjii-msft |
Typically, yes, it'll respect the |
@zadjii-msft |
Description of the new feature/enhancement
How can I start WT with a specified profile and send arguments to the console of this profile (e.g. use Powershell profile and ping host).
I tired
wt.exe new-tab -p "Powershell" -c "Get-Services"
which results in an error message:xref: https://learn.microsoft.com/de-de/windows/terminal/command-line-arguments?tabs=windows#passing-an-argument-to-the-default-shell
Proposed technical implementation details (optional)
The text was updated successfully, but these errors were encountered: