Skip to content

Commit 98b5442

Browse files
committed
Clarify CLI subprocess environment comment
1 parent e8e6484 commit 98b5442

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/mcp/cli/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def dev(
277277
[npx_cmd, "@modelcontextprotocol/inspector"] + uv_cmd,
278278
check=True,
279279
shell=shell,
280-
env=dict(os.environ.items()), # Convert to list of tuples for env update
280+
env=dict(os.environ.items()), # Copy the environment for subprocess launch
281281
)
282282
sys.exit(process.returncode)
283283
except subprocess.CalledProcessError as e:

0 commit comments

Comments
 (0)