From 2ebe3acd894cee6c84dfb32eb5fe58be26eb3a0f Mon Sep 17 00:00:00 2001 From: jaydee Date: Tue, 24 Sep 2024 20:23:22 +0200 Subject: [PATCH] bitwarden --- handle_imported_video.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handle_imported_video.py b/handle_imported_video.py index fcf7255..d4fdbed 100644 --- a/handle_imported_video.py +++ b/handle_imported_video.py @@ -171,7 +171,7 @@ if _ACTION == "join": print(myCmd) print(f"Joining {len(parts)} files...") - proc = subprocess.run(myCmd,stdout=subprocess.DEVNULL,stderr=subprocess.STDOUT) + proc = subprocess.Popen(myCmd,stdout=subprocess.PIPE,stderr=subprocess.STDOUT) # with tqdm(total=100, position=1, desc="Convert") as pbar: # for progress in ff.run_command_with_progress(): # pbar.update(progress - pbar.n) @@ -188,7 +188,7 @@ if _ACTION == "join": pbar.update(int(cur_stat) - position) position = int(cur_stat) - print(proc.returncode ) + print(proc.poll()) except: pass