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 Tuesday, March 8, 2011, svidya <svidya.mur...@gmail.com> wrote: > > 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. Any > ideas on how this can be achieved using screen will be very helpful. > > Thank you very much for your time, > Vidya > -- > View this message in context: > http://old.nabble.com/Spawning-a-process-into-a-new-Screen-window-programmatically-tp31094765p31094765.html > Sent from the Gnu - Screen mailing list archive at Nabble.com. > > > _______________________________________________ > screen-users mailing list > screen-users@gnu.org > http://lists.gnu.org/mailman/listinfo/screen-users > -- Aaron Davies aaron.dav...@gmail.com _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users