10-27-2003, 04:37 PM
|
#1
|
|
Member (13 bit)
Join Date: Jun 2000
Location: nowhere.com
Posts: 4,819
|
Send a command to a detached screen session...
Possible?
I've got a game server that accepts console commands through its terminal. So, for users to be able to start and stop it easily, I run it in a detached screen session so they can start and stop it from Usermin on a web page.
Is it possible to send a string of text to a specific detached screen session without reattaching it?
The man page for screen states...
Quote:
-X Send the specified command to a running screen session. You can use the -d or -r option to tell screen
to look only for attached or detached screen sessions. Note that this command doesn't work if the
session is password protected.
|
What's the syntax if it can be done? Or does this only apply to 'screen commands' and not text or other commands? The documentation above is all that's provided, it's a bit sketchy  .
|
|
|