This website works better with JavaScript.
Home
Explore
Help
Sign In
tovi
/
dwm
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
reviewed util.c
master
arg@mmvi
19 years ago
parent
f17e898bd1
commit
4230932563
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
util.c
+ 2
- 1
util.c
View File
@ -47,7 +47,8 @@ spawn(Arg *arg) {
if
(
!
arg
-
>
cmd
)
return
;
/* the double-fork construct avoids zombie processes */
/* The double-fork construct avoids zombie processes and keeps the code
*
clean
from
stupid
signal
handlers
.
*/
if
(
fork
(
)
=
=
0
)
{
if
(
fork
(
)
=
=
0
)
{
if
(
dpy
)
Write
Preview
Loading…
Cancel
Save