Skip to content

Your lightweight open-source personal agent.

fix(cli): stop leaking API keys to CLI app subprocesses

LHMQ878a0e60116a33d
diff --git a/nanobot/apps/cli/service.py b/nanobot/apps/cli/service.py
index c4629f56a..165a8476a 100644
--- a/nanobot/apps/cli/service.py
+++ b/nanobot/apps/cli/service.py
@@ -1019,7 +1019,7 @@ class CliAppManager:
"PYTHONUNBUFFERED": "1",
}
- def _run_argv(self, argv: list[str], *, timeout: int) -> subprocess.CompletedProcess[str]:
+ def _run_argv(self, argv: list[str], *, timeout: int) -> subprocess.CompletedProcess[str]:
command = subprocess.list2cmdline(argv)
logger.info("CLI Apps: running {}", command)
result = subprocess.run(