I have a script where I launch a shell command with subprocess.Popen , the shell command process takes a variable amount of time to execute and the process is s
subprocess.Popen