I want to run the program on a different screen session.
Let's say I run a screen like this
screen -S asti
And then I want to create a new window in this session. This is easy enough:
screen -S "asti" -X "screen"
In this session, two windows are created.
How to run the program on this screen session?
I tried:
screen -S "asti" program
Does not work
I tried the -p flag ... and many other attempts were made, but I did not.
Can anyone help me out?
Thanks in advance for your help and care.
source
share