[Xfce-bugs] [Bug 5889] setsid() in xfce_spawn

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Tue Oct 20 19:03:27 CEST 2009


http://bugzilla.xfce.org/show_bug.cgi?id=5889

--- Comment #1 from Brian J. Tarricone <bjt23 at cornell.edu> 2009-10-20 10:03:25 PDT ---
No -- IIRC waitpid() won't work after you call setsid() since that ends up
creating a fresh process group and (I think) reparents the child pid.  The
setsid() in xfrun might actually be unnecessary...

-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the Xfce-bugs mailing list