tadded a comment to spawn - dwm - [fork] customized build of dwm, the dynamic w… | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit a50b15a9e9663b1a7ee11d39ddf246427aecaeef | |
parent 0a25fe91888f30a382ca0cfb492283ce9aa3296c | |
Author: Anselm R. Garbe <[email protected]> | |
Date: Mon, 28 Aug 2006 08:17:27 +0200 | |
added a comment to spawn | |
Diffstat: | |
M util.c | 1 + | |
1 file changed, 1 insertion(+), 0 deletions(-) | |
--- | |
diff --git a/util.c b/util.c | |
t@@ -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) |