The way it is currently, it seems the i variable will get set to the last value from the previous loop and as a consequence, in the except block, the process added to the zombies list will also be the last process in the list process_list instead of being the process which generated the exception.
in the file
the function :
at line 370 shoudn't it be:
instead of
The way it is currently, it seems the
i
variable will get set to the last value from the previous loop and as a consequence, in the except block, the process added to thezombies
list will also be the last process in the listprocess_list
instead of being the process which generated the exception.