The following command screen -t 'fubar' cmd will create a new screen window with the command cmd running in it and will set the focus to this window.
How can I keep the focus in the current screen window, not the new one?
|
The following command How can I keep the focus in the current screen window, not the new one? |
|||
|
I'm not sure that you can do it in one go, here is a workaround:
|
|||
|
|
Inside a current screen session, this will start your command in a new screen window and then immediately switch back to your previous screen window, effectively backgrounding the new screen window. Enter the screen command line with
|
||||
|
|
screen -t 'fubar' -d -m cmd– lcipriani Apr 20 '12 at 10:33