[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sending commands to a process which runs inside screen
From: |
Stefan Kuhlemann |
Subject: |
Sending commands to a process which runs inside screen |
Date: |
Tue, 19 Apr 2011 12:26:42 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9 |
Hello List,
I'm looking for a solutiion for a problem wich keeps nagging me for
quite some time...
I'm running a win32-software(using wine) on my linux box in background,
which comes with its own in-build-'command-shell'. It's running within a
screen-session, since I have to check the status and stuff by typing
commands into the command-shell of this win32-app (eg. 'stats' or
'get_connect') from time to time.
Now - it would be extremely helpfull, if I would be able to post those
commands to this screen-session automated - instead of reattaching to
the screen-session and doing it by hand over and over again....
I've tried:
screen -X stats (wont work bc. the 'stats' get's executed as a
bash-command (?))
screen -X at 24389.ca-mb% stats (does nothing at all)
...
Any ideas?
Greetings
Stef