jilles 95d1dcb0f4 sh: Reap any zombies before forking for a background command.
This prevents accumulating huge amounts of zombies if a script executes
many background commands but no external commands or subshells.

Note that zombies will not be reaped during long calculations (within
the shell process) or read builtins, but those actions do not create
more zombies.

The terminated background commands will also still be remembered by the
shell.

PR:		bin/55346
2010-05-24 10:35:57 +00:00
..
2009-10-15 18:17:29 +00:00
2009-06-23 23:30:56 +00:00
2010-01-13 17:49:35 +00:00
2009-01-30 16:23:57 +00:00
2009-06-23 23:30:56 +00:00
2010-03-04 16:08:01 +00:00
2009-11-02 12:35:38 +00:00
2009-06-23 23:30:56 +00:00
2009-09-04 21:49:37 +00:00
2010-02-15 14:07:40 +00:00
2010-05-13 16:46:23 +00:00
2009-10-15 18:17:29 +00:00