1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-11-08 21:21:06 +00:00

Better showing of running commands

This commit is contained in:
Mo 2022-08-18 03:58:40 +02:00
parent 0f9cda3a03
commit 43c49c493b

View file

@ -61,9 +61,8 @@ args = parser.parse_args()
def run(command: str, **kwargs): def run(command: str, **kwargs):
if args.verbose: print("\n\nRunning command:")
print("Running command:") print(f"\t{command}\n")
print(f"\t{command}")
return subprocess.run(command, shell=True, **kwargs) # nosec B602 return subprocess.run(command, shell=True, **kwargs) # nosec B602