You do need to send a line break - which nemrun does automatically.
There was a version of nemrun that had a bug related to
-sharedkillcommand, but it was fixed in an update.

screen -S bob -X stuff $'quit\n'



On Mon, Sep 27, 2010 at 1:09 AM, kama <[email protected]> wrote:
>
> I wrote a simple gnu screen guide which covers most of the stuff...
>
> http://freebsd.pvp.se/?f=gnu-screen
>
> /Bjorn
>
> On Sat, 25 Sep 2010, Eric Riemers wrote:
>
>> One would think that way. But if I do it manually on the command line and 
>> say "quit" with -X , it works as it should, perhaps it's something with the 
>> nemrun auto-updater I have running.
>> Nemph would know I think, I'll try it with quit\n too just in case.
>>
>> There aint much examples out there which talk about sending multiple 
>> commands through a screen (besides running the same command multiple times)
>>
>> Eric
>> -----Original Message-----
>> From: [email protected] 
>> [mailto:[email protected]] On Behalf Of ???? 
>> ???????????? ????????
>> Sent: zaterdag 25 september 2010 13:43
>> To: Half-Life dedicated Linux server mailing list
>> Subject: Re: [hlds_linux] screen -X
>>
>> Hello,
>>
>> Which were the command line options exactly after screen -X?
>> Please note that '\n' isn't appended automatically. So you may need to use 
>> for example $'command\n'
>> e.g. screen -S scr_name -p0 -X stuff $'quit\n'
>>
>> On Sat, Sep 25, 2010 at 5:07 PM, sylvain <[email protected]> wrote:
>> > hi
>> >
>> > i m stop my server hlds with a control-c hot key  .....
>> > ----- Original Message ----- From: "Eric Riemers" <[email protected]>
>> > To: "'Half-Life dedicated Linux server mailing list'"
>> > <[email protected]>
>> > Sent: Saturday, September 25, 2010 12:26 PM
>> > Subject: [hlds_linux] screen -X
>> >
>> >
>> >> All,
>> >>
>> >> Its a bit hard to google on screen -X , but i got screens running for
>> >> nemrun which send the "quit" command to one of the sharedscreens.
>> >> However, each Friday (for l4d2 for instance) after the update I
>> >> notice that it updated all the files but the instances are not
>> >> restarted.
>> >>
>> >> When I log onto that particular screen and press enter, only THEN
>> >> will they restart.. so it seems that I need a "quit <cr>" or
>> >> something similar.
>> >>
>> >> Anyone experienced the same, or have a better way?
>> >>
>> >> Eric
>> >>
>> >>
>> >> _______________________________________________
>> >> To unsubscribe, edit your list preferences, or view the list
>> >> archives, please visit:
>> >> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>> >>
>> >
>> >
>> > _______________________________________________
>> > To unsubscribe, edit your list preferences, or view the list archives,
>> > please visit:
>> > http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>> >
>>
>> _______________________________________________
>> To unsubscribe, edit your list preferences, or view the list archives, 
>> please visit:
>> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>>
>>
>> _______________________________________________
>> To unsubscribe, edit your list preferences, or view the list archives, 
>> please visit:
>> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to