qmi.tools.proc.stop_process
- qmi.tools.proc.stop_process(context_name: str, pid: int) bool
Stop the specified process on a local or remote computer.
- Parameters:
context_name – Context to be stopped.
pid – Process ID.
- Returns:
If the process was stopped; False: If the process was not running.
- Return type:
True
- Raises:
ProcessException – If the process can not be stopped.