• Iustin Pop's avatar
    Add cleanup of processes to utils.KillProcess · ff5251bc
    Iustin Pop authored
    In case the process we want to signal is our own process, and the signal
    we send is a deadly one, we should also cleanup after the process.
    
    This patch adds a new parameter waitpid to this function that does this,
    and changes its unittest to pass this new parameter.
    
    Reviewed-by: imsnah
    ff5251bc
utils.py 47.6 KB