start_vm: log VM start command

This commit is contained in:
lassulus
2024-12-04 16:43:59 +01:00
parent 1511b14b3c
commit 3a4aec2c7e

View File

@@ -127,6 +127,7 @@ def start_vm(
env = os.environ.copy() env = os.environ.copy()
env.update(extra_env) env.update(extra_env)
cmd = nix_shell(packages, args) cmd = nix_shell(packages, args)
log.debug(f"Starting VM with command: {cmd}")
with subprocess.Popen( with subprocess.Popen(
cmd, env=env, stdout=stdout, stderr=stderr, stdin=stdin cmd, env=env, stdout=stdout, stderr=stderr, stdin=stdin
) as process: ) as process: