Explorar o código

added a comment to spawn

Anselm R. Garbe %!s(int64=19) %!d(string=hai) anos
pai
achega
a50b15a9e9
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      util.c

+ 1 - 0
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)