[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] properly daemonize vncviewer
On Wed, Aug 2, 2006 at 2:32 AM, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> wrote: > On 1 Aug 2006, at 20:11, Charles Coffing wrote: > >> We've been running with a variant of this patch (a variant because we >> use tightvnc, which requires different arguments) for many months, and >> it works well. >> >> Please consider applying to xen- unstable. > > Is there no Python library function that can do this (I couldn't find > one)? No. And as an added twist, I wanted to get the PID of the daemonized program back (without the mess or risk of writing to a temporary file) and I didn't see any such thing out there already. > If not, can you at least put the new code in a function with a > spawn- like interface (i.e., takes two parameters -- program name and > program argument list). It's okay to put the new function somewhere > nearby in create.py. I've attached the updated patch with the suggested changes. Attachment:
xen-daemonize-vncviewer.diff _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |