mirror of
https://gitlab.sectorq.eu/jaydee/python.git
synced 2025-12-14 10:44:52 +01:00
rebase
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user