What I want is to open a new tab having Powershell and running a specific command (in my case "npm run local").
I was expecting this will work,
wt -w 0 -p "Windows Powershell" npm run local
But, it gives an error,
[error 0x80070002 when launching `npm run local']
Is it possible and how?
*Note: I have done a lot of research and also read the official documentation, but I was not able to find a way.