From 88e127c7b1d85f8ef8d13e033123a942eec41153 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Tue, 31 Aug 2021 02:04:33 -0700 Subject: [PATCH] Add command line flag -dh, archive files in use by other programs. --- rarpar.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rarpar.py b/rarpar.py index 3063fcd..c3318dd 100644 --- a/rarpar.py +++ b/rarpar.py @@ -55,6 +55,8 @@ def RARCOMMAND( all subsequent options override the ones provided by the profile. -ibck = run in the background + -dh = allow winrar to read files which are in use by another process. + Without this flag, winrar exits with status 6 in that case. -ma = rar5 mode -m{compression} = 0: store, 5: max -md{x}[kmg] = x kilobytes/megabytes/gigabytes dictionary size @@ -82,6 +84,7 @@ def RARCOMMAND( command.extend([ '-ibck', + '-dh', '-ma', '-mt1', '-ri1:30',