xwem-devel
[Top] [All Lists]

Launching applications under xwem

From: Zajcev Evgeny <lg@xxxxxxxx>
Subject: Launching applications under xwem
Date: Thu, 24 Nov 2005 01:49:57 +0300
Organization: xwem.org
User-agent: Gnus/5.1007 (Gnus v5.10.7) SXEmacs/22.1.3 (BMW, berkeley-unix)
I have an idea, dont know maybe someone already proposed it but i was
not listening .. anyway.  Every xwem user know problem when he is
running bunch of X application under xwem and something happens to
xwem or (S)XEmacs and (S)XEmacs crashes or xwem hangs or anything else
harmful happens - you lost all your X application that was launched by
xwem launcher.  We have workaround this problem - xwem-agent with
conjunction of nohup(1), however nohup(1) not always do the job
exactly as expected ..

So i have an idea, what if (S)XEmacs wont launch any X application at
all?  What if (S)XEmacs will notify xwem-agent that there is query
pending to execute some command in xwem launcher, and xwem-agent
launches that X application for the (S)XEmacs, so those X application
does not HUPs when (S)XEmacs exits, they only HUPs when xwem-agent
exits, but if xwem-agent exits the whole X exits as well, because
normally xwem-agent holds X.  This aproach will totaly solve nohup(1)
and intersession (within xwem-agent) problems ..

Thanks!

-- 
XWEM - Specialising in miracles and impossibilites.

<Prev in Thread] Current Thread [Next in Thread>