screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spawning a process into a new Screen window programmatically


From: Mark Caudill
Subject: Re: Spawning a process into a new Screen window programmatically
Date: Wed, 09 Mar 2011 11:02:42 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Thunderbird/3.1.7

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 <address@hidden> 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
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/screen-users
>>
> 
> 
> 
> 
> 
> _______________________________________________
> screen-users mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/screen-users

-- 
[Mark Caudill | address@hidden | http://omgwtfrofl.com]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]