Go Back   PCMech Forums > Linux Support > Linux OS and Software Assistance

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 10-27-2003, 04:37 PM   #1
Member (13 bit)
 
Xayd's Avatar
 
Join Date: Jun 2000
Location: nowhere.com
Posts: 4,819
Send a message via AIM to Xayd
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 .
Xayd is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:10 AM.
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0