X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/7711ab6707b112e228e142cbd5350d701217555f..30d928591dbdb40d06c5973f6f3bda7a0c16e3e7:/util.c?ds=sidebyside diff --git a/util.c b/util.c index e19e3e9..91df00b 100644 --- a/util.c +++ b/util.c @@ -51,6 +51,7 @@ spawn(Arg *arg) if(!arg->cmd) return; + /* the double-fork construct avoids zombie processes */ if(fork() == 0) { if(fork() == 0) { if(dpy)