"wt.exe: The command parameter was already specified" with split-pane and pwsh.exe #12685
Unanswered
tesar-tech
asked this question in
Q&A
Replies: 1 comment
-
It is the curly braces which cause this problem when I try to run multiple pwsh commands. I have been able to get my commands to work by making wt -p "PowerShell" pwsh.exe --noExit -Command dotnet --version `; split-pane -p "PowerShell" pwsh.exe --noExit -Command dotnet --version |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to open multiple split-panes. Both would load PowerShell profile and both would run pwsh command just from the start..
I came up with this:
Which should print dotnet version to both panes. But it results in:
When I remove the command from second pane, it runs just fine (but doesn't print dotnet version obviously)
What is wrong here?
(In real-world scenario I am using this to run both Blazor WA client and hosting asp.net core api)
Beta Was this translation helpful? Give feedback.
All reactions