Skip to content

Merge duplicate logic of NoSuchProcess detection #136

@Jongy

Description

@Jongy

We have 2 different implementations that detect a "NoSuchProcess" state when reading ELF files of processes - https://github.com/Granulate/granulate-utils/blob/ddd5f79b2b7683af431c5b592f548fe6eff38c28/granulate_utils/linux/elf.py#L24 and https://github.com/Granulate/granulate-utils/blob/ddd5f79b2b7683af431c5b592f548fe6eff38c28/granulate_utils/linux/process.py#L122.

Personally I prefer the latter, and it seems more complete. Let's remove either and fix all sites to use a single one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions