From 94d73c146672d3b893a9262b8d7abc87a3a99642 Mon Sep 17 00:00:00 2001 From: jaydee Date: Tue, 24 Sep 2024 20:17:07 +0200 Subject: [PATCH] bitwarden --- handle_imported_video.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/handle_imported_video.py b/handle_imported_video.py index 07b224d..fcf7255 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.Popen(myCmd,stdout=subprocess.DEVNULL,stderr=subprocess.STDOUT) + proc = subprocess.run(myCmd,stdout=subprocess.DEVNULL,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,6 +188,7 @@ if _ACTION == "join": pbar.update(int(cur_stat) - position) position = int(cur_stat) + print(proc.returncode ) except: pass