Log what command is running

This commit is contained in:
Nexus 2024-08-01 19:14:21 +01:00
parent 04f966a41c
commit 26d251a41e
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -1,4 +1,5 @@
import logging
import shlex
import shutil
import typing
import urllib.parse
@ -148,6 +149,7 @@ class TruthSocialTranscode(niobot.Module):
stderr=asyncio.subprocess.PIPE
)
self.log.info("Starting transcode...")
self.log.debug("Running command: %r", shlex.join(args))
stdout, stderr = await transcode.communicate()
self.log.info("Finished transcode.")
if transcode.returncode != 0: