how can i make a batch file that first opens an instance of a terminal then runs commands?

January 10, 2024, 18:50

iludw1g

on startup i would like to run three different scripts all of which open their own terminal seperately so i can monitor them. is this possible? i can run the apps, but without console i cant monitor

_krazy.

You can make the file itself the terminal and just write the commands there.

_krazy.

Or open whatever terminal package you want to open and arg the script you want to use

iludw1g

alright but then how do i keep it from closing?

_krazy.

There's a way to, but the lazy one is to make it receive input after finishing.

oops.se

There is screen that could be what you look for. A screen is its own "terminal"/environment that you can start commands in/apps and then deattach the screen and if you want to check the result later just attach the screen and check the result.