winterm-mcp 0.1.1__tar.gz → 0.1.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: winterm-mcp
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: A Model Context Protocol (MCP) service for executing Windows terminal commands asynchronously
5
5
  Author-email: winterm-mcp contributors <maintainer@example.com>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "winterm-mcp"
7
- version = "0.1.1"
7
+ version = "0.1.2"
8
8
  description = "A Model Context Protocol (MCP) service for executing Windows terminal commands asynchronously"
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
@@ -85,10 +85,10 @@ class RunCmdService:
85
85
  if token in self.commands:
86
86
  self.commands[token]["status"] = "running"
87
87
 
88
- encoding = "utf-8" if shell_type == "powershell" else "gbk"
88
+ encoding = "gbk"
89
89
 
90
90
  if shell_type == "powershell":
91
- cmd_args = ["powershell", "-Command", command]
91
+ cmd_args = ["powershell", "-NoProfile", "-NonInteractive", "-Command", command]
92
92
  else:
93
93
  cmd_args = ["cmd", "/c", command]
94
94
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: winterm-mcp
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: A Model Context Protocol (MCP) service for executing Windows terminal commands asynchronously
5
5
  Author-email: winterm-mcp contributors <maintainer@example.com>
6
6
  License: MIT
File without changes
File without changes
File without changes