#Look into executable files. Slow and didn't bring up any new programs. Better to keep the database up to date ourselves.
completedProcess=subprocess.run(command,stdout=subprocess.PIPE,stderr=subprocess.PIPE,universal_newlines=True,shell=True)#universal_newlines is an alias for text, which was deprecated in 3.7 because text is more understandable. capture_output replaces the two PIPEs in 3.7
forfullPathincompletedProcess.stdout.split():
self.progressHook(f"{fullPath}")
exe=pathlib.Path(fullPath).relative_to(path)
ifnotstr(exe)inexcludeFromProcessingSet:#skip over any known file, good or bad