In .screenrc, I can have the lines:
screen -t title1 command1 screen -t title2 command2
I would like to create a batch file to add a few screens at once, what is the best way of going about that?
If I just run those two commands in a single batch file, I get screen start with command 1, but command 2 only executes when I exit the screen process.
An ampersand might do it but be a bit untidy, but I was wondering if there's a better method?