How can you edit what the run button in VSCode does?

Viewed 18

Hello I'm wondering how do you run a script like .PS1 or .CMD when you hit the run button?

This is my code

$path = 'G:\Devving\Main\Shell'
$file = 'Main.py'

$cmd = $path+"\\"+$file
Start-Process $cmd

I am trying to run this from the little run button.

0 Answers
Related