From 38be080bec1f3f92d6e56cd665cbf7917d2be057 Mon Sep 17 00:00:00 2001 From: Markus Hilger Date: Mon, 27 Jul 2026 02:19:23 +0200 Subject: [PATCH] Accept a command list in check_call check_output unwraps a single list argument, check_call never did, so callers passing a list hit a TypeError out of create_subprocess_exec. Two callers do: the genisoimage run behind Windows profile imports, where an except Exception swallows the failure and the boot.iso is silently missing, and the nodeconfig run in discovery, which takes out automatic node configuration on discovery outright. --- confluent_server/confluent/util.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/confluent_server/confluent/util.py b/confluent_server/confluent/util.py index 339db356..a1a1be07 100644 --- a/confluent_server/confluent/util.py +++ b/confluent_server/confluent/util.py @@ -52,6 +52,8 @@ def mkdirp(path, mode=0o777): async def check_call(*cmd, **kwargs): + if len(cmd) == 1 and isinstance(cmd[0], (list, tuple)): + cmd = cmd[0] subproc = await asyncio.create_subprocess_exec(*cmd, **kwargs) rc = await subproc.wait() if rc != 0: