From: Anselm R. Garbe Date: Mon, 28 Aug 2006 06:17:27 +0000 (+0200) Subject: added a comment to spawn X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=commitdiff_plain;h=a50b15a9e9663b1a7ee11d39ddf246427aecaeef added a comment to spawn --- 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)