[Xfce4-commits] r19323 - libxfcegui4/trunk/libxfcegui4
Brian J. Tarricone
bjt23 at cornell.edu
Sat Jan 7 11:31:57 CET 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 1/7/2006 1:29 AM, Jasper Huijsmans wrote:
> Brian J. Tarricone schreef:
>>
>>On 1/7/2006 1:09 AM, Jasper Huijsmans wrote:
>>>
>>>I'm also not sure g_spawn_async doesn't already
>>>detach child processes if you don't pass a location to store the pid.
>>
>>I don't know either. It definitely doesn't call setsid(), but it
>>appears that it sometimes does some funky thing with fork()ing an
>>intermediate child, and then fork()ing another child from there that
>>actually does the exec(). It's all rather confusing. All I know is
>>that sometimes (the "sometimes" bothers me) when I've launched
>>applications from the panel, xfdesktop, or xfwm4 (via keybindings before
>>the new shortcut editor), and then killed that respective parent app,
>>the children have, on occasion, died.
>>
>>Personally I'd feel better with a child setup function that just
>>explicitly calls setsid() on platforms that have it.
>
> That sounds like a good idea regardless of what really is going on ;-)
And it's done ^_^.
I also fixed the FIXME where spawning synchronously (does anyone ever
actually use this?) on a screen other than the default screen will
appear on the wrong screen. The fix is somewhat questionable; see my
comment in the source for details.
Meanwhile, it's 2:30am and I really should go to bed...
-b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
iD8DBQFDv5id6XyW6VEeAnsRAt1AAKDs5fsyhbIqsSGmkU+Ff/ESJ92AgwCePUE8
gGfvpcpzmmSjrLOODHJVU/o=
=hHZB
-----END PGP SIGNATURE-----
More information about the Xfce4-dev
mailing list