pypelined.utilities.proctools module

pypelined.utilities.proctools.validate_process(pid, name=None)

Check whether there is a process with pid and name

Parameters:
  • pid – pid of the running process
  • name (str or None) – name of the running process
Returns:

whether there is a process with the given name and pid

Return type:

bool