new: Print command before executing it

This commit is contained in:
Sayantan Santra 2023-08-29 01:10:16 -05:00
parent b67a70ba7f
commit ed8e7859e2
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F

View file

@ -73,9 +73,9 @@ def build_apps(appstate):
cmd += f" -o {output_name}.apk {apk}.apk"
if root:
print(f"Building {pretty_name} (root)...")
print(f"Building {pretty_name} (root) using '{cmd}'")
else:
print(f"Building {pretty_name} (nonroot)...")
print(f"Building {pretty_name} (nonroot) using '{cmd}'")
try:
with subprocess.Popen(cmd, shell=True, bufsize=0, stdout=subprocess.PIPE, stderr=subprocess.STDOUT).stdout as output: