added a comment to spawn
a50b15a9
1 file(s) · +1 −0
| 51 | 51 | ||
| 52 | 52 | if(!arg->cmd) |
|
| 53 | 53 | return; |
|
| 54 | + | /* the double-fork construct avoids zombie processes */ |
|
| 54 | 55 | if(fork() == 0) { |
|
| 55 | 56 | if(fork() == 0) { |
|
| 56 | 57 | if(dpy) |