Clarify CLI subprocess environment comment (#2672)

Co-authored-by: scosemicolon <277933778+scosemicolon@users.noreply.github.com>
This commit is contained in:
S;Co 2026-06-02 17:02:36 +01:00 • committed by GitHub
commit a5b2ebb660
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -277,7 +277,7 @@ def dev(
[npx_cmd, "@modelcontextprotocol/inspector"] + uv_cmd,
check=True,
shell=shell,
env=dict(os.environ.items()), # Convert to list of tuples for env update
env=dict(os.environ.items()), # Copy the environment for subprocess launch
)
sys.exit(process.returncode)
except subprocess.CalledProcessError as e: