screenutils
screenutils copied to clipboard
Create screen as deamon (-dmS)
Using -dmS
From what I can tell, this works exactly as the old (create & attach --> wait --> detach), just better and more reliably.
I Think at the time, I didn't used it because inserting commands didn't worked, as if the session initialize only at the first "normal" connection.
My usecase was to handle a CLI server like some videogames ones (keeping them on and depending on logs (somebody connects) insert some commands). As I was handling multiple instance on my server I rarely connected on screens manually.