nils-soderman / vscode-batch-runner

Visual Studio Code extension to run batch files in the terminal
https://marketplace.visualstudio.com/items?itemName=NilsSoderman.batch-runner
MIT License
5 stars 5 forks source link

Run batches in the new Terminal #11

Closed nidnesandne closed 1 year ago

nidnesandne commented 1 year ago

I use this extension to test batch files. When I run various batch files, they run in the same terminal, so I have trouble with the previous environment variables being remained.

So, we would like to have an option to run the batch file in a new terminal. For example, "Run Batch File in new Terminal" menu or configuring default behavior in the Settings.

nils-soderman commented 1 year ago

Hi,

That's a good point I hadn't thought about, and I feel like we should probably always reset the terminal between each run. Will look into it!

nils-soderman commented 1 year ago

With the latest release (1.1.1), the terminal is now restarted between each run. Thank you for the feedback!

nidnesandne commented 1 year ago

I have just updated it, and confirmed that the terminal restarts on each run. Thank you very much!