Clarify CLI subprocess environment comment (#2672)
Co-authored-by: scosemicolon <277933778+scosemicolon@users.noreply.github.com>
This commit is contained in:
parent
453cafb9a9
commit
a5b2ebb660
1 changed files with 1 additions and 1 deletions
|
|
@ -277,7 +277,7 @@ def dev(
|
||||||
[npx_cmd, "@modelcontextprotocol/inspector"] + uv_cmd,
|
[npx_cmd, "@modelcontextprotocol/inspector"] + uv_cmd,
|
||||||
check=True,
|
check=True,
|
||||||
shell=shell,
|
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)
|
sys.exit(process.returncode)
|
||||||
except subprocess.CalledProcessError as e:
|
except subprocess.CalledProcessError as e:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue