Your Location is: Home > Vscode-settings

How to make a particular script to run on a particular integrated terminal in vscode?

From: Namibia View: 1236 Darshan L 

Question

I have 2 scripts. Script 1 creates a tmux session or attaches a tmux session, if already exist. Script 2 creates another tmux session and again attaches it, if already exists.

I want script 1 to run in integrated terminal 1 and script 2 to run in integrated terminal 2

whenever I reload the VSCode window or launch VSCode.

How can I achieve this?

Generalizing this issue, I want to run a particular script to run a particular integrated terminal.

Best answer