Hello,

I'm a master student in final year of study and I follow an open-source course. 
The project is to contribute in an open-source project and I would like to 
contribute in Screen. I used in the past screen for minecraft servers and I 
would have ​ to have an option as for example screen -S mc-server -p 0 -W 
"Server closed" where -W is a wait command that makes the screen call blocking 
until the line string "Server closed" appears inside the session. Why doing 
this ? For example if I want to produce a shutdown script where it sends the 
appropriate exit command screen -S <name> -p 0 -X stuff <exit-command> to each 
server (it could be everything) and for each, we wait that the server is 
properly closed before turning of the machine.

It's just an idea I don't know if it is interesting or have you other 
suggestions for me ?
Thank you for you time,
Best regards,

Reply via email to