Autokill process

Some scripts with Threading or Subprocessing calls could ends without terminate all the process, this script make sure you finish the current process and the previous process generated too.

openbci_stream.utils.pid_admin.autokill_process(name: str = '') None[source]

Make sure you finish the current process.

In addition to kill the current process, it will looks for the previous process and kill them before the start.

Parameters

name – Name used for the PID file.