diff options
| -rw-r--r-- | util.c | 1 | 
1 files changed, 1 insertions, 0 deletions
| @@ -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) | 
|  | index : dwm | |
| My fork of suckless dwm: https://git.suckless.org/dwm | 
| aboutsummaryrefslogtreecommitdiff | 
| -rw-r--r-- | util.c | 1 | 
| @@ -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) |