This commit is contained in:
ladislav.dusa
2024-09-25 17:06:10 +02:00
parent fe59bd687d
commit e56a4b5242

View File

@@ -184,7 +184,7 @@ if _ACTION == "join":
#print(myCmd) #print(myCmd)
print(f"Joining {len(parts)} files to {export_name} in {_DAY_DIR}...") print(f"Joining {len(parts)} files to {export_name} in {_DAY_DIR}...")
proc = subprocess.Popen(myCmd,stdout=subprocess.DEVNULL,stderr=subprocess.STDOUT) proc = subprocess.Popen(myCmd,stderr=subprocess.STDOUT)
# with tqdm(total=100, position=1, desc="Convert") as pbar: # with tqdm(total=100, position=1, desc="Convert") as pbar:
# for progress in ff.run_command_with_progress(): # for progress in ff.run_command_with_progress():
# pbar.update(progress - pbar.n) # pbar.update(progress - pbar.n)
@@ -210,9 +210,13 @@ if _ACTION == "join":
# pbar.update(1) # pbar.update(1)
# pbar.close() # pbar.close()
# pbar.clear() # pbar.clear()
if _TEST: if _TEST:
status,output = proc.communicate()
print("\r\n") print("\r\n")
print("Outputs") print("Outputs")
print(status)
print(output)
print(proc.stdout) print(proc.stdout)
print(proc.communicate()[0]) print(proc.communicate()[0])
print(proc) print(proc)