pyslk.get_slk_pid

Contents

pyslk.get_slk_pid#

pyslk.get_slk_pid(process: Popen | FakeProc) int#

Return the pid of a slk call

Parameters:

process (subprocess.Popen) – a process as instance of subprocess.Popen in which slk is running as child process

Returns:

pid of a slk call within the provided instance of subprocess.Popen

Return type: