Mar-21-2018, 05:26 PM
It errors at
p = psutil.Process(process.pid)
I get, psutil.NoSuchProcess: psutil.NoSuchProcess no process found with pid 2500.
I get the pids from the sub process object and append them to a list
If I understand you correctly I shouldn't be using psutil to kill subprocess objects?
If so what is my other option?
Thanks for your feedback, this has been stumping me quite a bit.
p = psutil.Process(process.pid)
I get, psutil.NoSuchProcess: psutil.NoSuchProcess no process found with pid 2500.
I get the pids from the sub process object and append them to a list
doc = Popen("start /WAIT " + self.SectionList.get(element), shell=True) self.processes.append(doc)So when the window destruction event is closed I just iterate over them.
If I understand you correctly I shouldn't be using psutil to kill subprocess objects?
If so what is my other option?
Thanks for your feedback, this has been stumping me quite a bit.