Re: Spawning a process into a new Screen window programmatically

2011-03-09 Thread Aaron Davies
If it can start new processes (fork/exec, etc) it could retrieve $STY from it's env and call screen with appropriate arguments to tell it to start a new window w/a new process in it. This is the same thing as spawning a new window/process from a shell on the same box but outside the session. On T

Re: Spawning a process into a new Screen window programmatically

2011-03-09 Thread Ramon J. Gonzalez
Vidya, Have you tried to put it in the .screenrc? For example: screen -t WINDOWNAME "scrpit to run" select WINDOWNAME -- Then have your script run your application. I have a script that ssh'es to a host and run an application when it connects On Tue, Mar 8, 2011 at 2:02 AM, svidya wrote

new screen user

2011-03-09 Thread Ramon J. Gonzalez
So I have a pretty complex window layout for a screen session. Each widown is connected to a different external server and running a tail on a log file. This is an AWESOME solution for me, but when something happens across all systems it looks like screen will only update one window at a time, whi

Spawning a process into a new Screen window programmatically

2011-03-09 Thread svidya
Hi, Is there a way for an already running process to spawn another process in a new screen window? This is required so that both the processes can be individually controlled from two windows, but the second process can only be spawned once the first process reaches a certain stage in execution. A