4 Nov
2009
4 Nov
'09
3:39 p.m.
On Nov 3, 2009, at 19:05, Cameron Simpson wrote:
On 03Nov2009 16:48, Jeremy Huddleston <jeremyhu@apple.com> wrote: | Here's the change I went with based on your original patch: | http://cgit.freedesktop.org/~jeremyhu/xserver/commit/?id=5e79976c13c5b94b123...
Isn't there a decent performance/resouce gain from a direct fork/exec rather than System() (which goes fork, exec-/bin/sh, then /bin/sh forks and then execs xmodmap because of the "&). And it would be prudent to close stdin in the child, too.
Yeah, that's all done in X11Controller.m's -launch_client: which additionally sets DISPLAY if it is not set correctly.