Add -- to ensure arguments are considered filepaths.

This commit is contained in:
voussoir 2021-10-25 14:23:39 -07:00
parent ec2bd9aa86
commit 21401b7339
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -141,6 +141,7 @@ def PARCOMMAND(workdir, basename, par):
PAR2, PAR2,
'c', '-t1', 'c', '-t1',
f'-r{par}', f'-r{par}',
'--',
f'{workdir.absolute_path}{os.sep}{basename}', f'{workdir.absolute_path}{os.sep}{basename}',
f'{workdir.absolute_path}{os.sep}{basename}*.rar', f'{workdir.absolute_path}{os.sep}{basename}*.rar',
] ]