Improve logging

This commit is contained in:
Dominik Jain authored and Dominik Jain committed 2025-07-28 18:01:53 +02:00
1 parent c08a9b6e55
commit 68fcc69060
1 file changed
+2 -1
+2 -1
View File
@@ -80,7 +80,6 @@ class RuntimeDependencyCollection:
import pwd
kwargs["user"] = pwd.getpwuid(os.getuid()).pw_name
log.info("Running command '%s' in '%s'", command, cwd)
is_windows = platform.system() == "Windows"
if not isinstance(command, str) and not is_windows:
@@ -88,6 +87,8 @@ class RuntimeDependencyCollection:
# on Linux/macOS
command = " ".join(command)
log.info("Running command %s in '%s'", f"'{command}'" if isinstance(command, str) else command, cwd)
completed_process = subprocess.run(
command,
shell=True,