Re: Spawning a process into a new Screen window programmatically

Mark Caudill <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <[email protected]>
Yes. You can test this by starting screen, the running

	screen -t "TEST"

Then you should see a new window with the title TEST. The method to get
your process to run that command will obviously vary depending on the
language.

On 03/09/2011 10:54 AM, Ramon J. Gonzalez wrote:
> 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 <[email protected]> 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-mXXj517/[email protected]
>> http://lists.gnu.org/mailman/listinfo/screen-users
>>
> 
> 
> 
> 
> 
> _______________________________________________
> screen-users mailing list
> screen-users-mXXj517/[email protected]
> http://lists.gnu.org/mailman/listinfo/screen-users

-- 
[Mark Caudill | [email protected] | http://omgwtfrofl.com]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.