about summary refs log tree commit diff stats
path: root/util.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-08-28 08:17:27 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-08-28 08:17:27 +0200
commita50b15a9e9663b1a7ee11d39ddf246427aecaeef (patch)
treeaa7fcaf84ab7233d6101fb324ef459e6be2eb4e8 /util.c
parent0a25fe91888f30a382ca0cfb492283ce9aa3296c (diff)
downloaddwm-a50b15a9e9663b1a7ee11d39ddf246427aecaeef.tar.gz
added a comment to spawn 1.1
Diffstat (limited to 'util.c')
-rw-r--r--util.c1
1 files changed, 1 insertions, 0 deletions
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)
lame/WWW/Library/Implementation/HTMIME.h?id=0654c7025fbe241efddf0c3b9e58817f262aeda9'>^
e087f6d4
08fc6e5c ^
e087f6d4
08fc6e5c ^

e087f6d4

08fc6e5c ^
e087f6d4



af9be28b ^

e087f6d4

57bfc74f ^









e087f6d4

08fc6e5c ^
e087f6d4






08fc6e5c ^
e087f6d4



f61041c1 ^







e087f6d4




08fc6e5c ^
e087f6d4
















d97a6513 ^
e087f6d4


e087f6d4




1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94