delete-exited-processes
delete-exited-processes is a variable defined in `C source code
'.
Its value is tDocumentation: Non-nil means delete processes immediately when they exit. A value of nil means don't delete them until `list-processes' is run. You can customize this variable.