I'm trying to find a way to run two consecutive scripts in two different terminal sessions in VSCode.
There's no problem running two sessions, only problem is that output is shown in same terminal session, making it very difficult (almost impossible, actually) to distinguish between session outputs.
I've been looking, but so far haven't found a way to direct output to a particular terminal session.
Anybody figure this one out?
Added Edit:
I found one way, which is not too painful.
Still, a simple redirect would be nice.
There's no problem running two sessions, only problem is that output is shown in same terminal session, making it very difficult (almost impossible, actually) to distinguish between session outputs.
I've been looking, but so far haven't found a way to direct output to a particular terminal session.
Anybody figure this one out?
Added Edit:
I found one way, which is not too painful.
- Open a new terminal session with Ctrl-Shift`
- Run run code by issuing 'python script.py' from terminal prompt.
Still, a simple redirect would be nice.