0

In my vscode extension I would like to call an external powershell script and pass a parameter to that script. How to accomplish this in typescript?

So the process is as follows...

The user activates the command palette, enter the keyword for the extension I'm conding, and inputs a parameter in the command palette. This activates a powershell script that takes the input from the user as a parameter and then do stuff.

Could the powershell script be included in the extension or will it have to be external?

1 Answer 1

2

Look here: Execute Powershell script from Node.js

And showQuickPick here: https://code.visualstudio.com/api/references/vscode-api#window

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.