Re: Patch to give player server ability to daemonize

Rich Mattes <[email protected]>
Newsgroups gmane.science.robotics.playerstage
Message-ID <[email protected]>
On 07/11/2012 09:56 PM, Taahir Ahmed wrote:
> I've attached of a local modification to player that might be useful to others.
> I'm going to be running multirobot experiments using the python fabric library
> to control experiment trials, and I needed the ability for player to detach
> itself from its shell.
>
> This patch gives the player server the ability to become a standard unix
> daemon if it's passed the -s command line argument.
>
> I've done some rudimentary testing to ensure that clients can still connect to
> the server in daemon mode, etc.
>
> Is there anything about this code that needs to be changed to be included in
> the player mainline?
>
> The patch itself was generated using the git format-patch command.  If another
> format is preferred, just let me know.
>
> Taahir Ahmed
> Distributed AI Robotics Laboratory
> Texas A&M University
>

Hi Taahir,

Thanks for taking the time to send this patch along!  The patch format 
is fine; the only thing we ask is that it applies cleanly to svn head.  
As far as changes, it looks pretty good.  I'll get to work testing it 
and rolling it into the Player source.

Thanks,

Rich


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
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.