on-internet
← Community

How to run 2 commands at once, in parallel, auto-executing each command in a pane. For PowerShell but looking for a cross-platform terminal workflow

Stack Overflow ·

About running 2 commands at once, for example to run 2 console programs with 1 single command, in PowerShell, one way to do this is with a command in the next format, just by adding ; between each of the 2 commands/sub-commands, all in 1 single line: python C:/path/to/program_2/program_2.py; C:/path/to/program_1/program_1.exe Or if the 2 programs are in the same path, and already being in that path: python program_2.py; ./program_1.exe In this way, the 2 programs run sequentially, one after the other, all in the same terminal window/tab. Now I'm looking for a way to run 2 commands in the next

Comments

Sign in or sign up to comment and upvote.

No comments yet.