1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2024-11-16 20:29:02 +00:00

Attempt to use pipe to store log

This commit is contained in:
Marcus Yanello 2022-06-12 11:47:50 -05:00 committed by GitHub
parent d5eeab4a17
commit 605c8cc8b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -555,9 +555,9 @@ class DupeGuru(Broadcaster):
# a workaround to make the damn thing work.
exepath, args = match.groups()
path, exename = op.split(exepath)
subprocess.Popen(exename + args, shell=True, cwd=path)
subprocess.Popen(exename + args, shell=True, cwd=path, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
else:
subprocess.Popen(dupe_cmd, shell=True)
subprocess.Popen(dupe_cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
def load(self):
"""Load directory selection and ignore list from files in appdata.