File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 8
8
9
9
### Bugs Fixed
10
10
11
+ - Fixed being able to pass args containing spaces through an npx call to the cli
12
+
11
13
### Other Changes
12
14
13
15
- Updated to the latest ModelContextProtocol library. https://github.com/Azure/azure-mcp/pull/161
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ const childProcess = require('child_process')
6
6
7
7
// Check if DEBUG environment variable is set
8
8
const isDebugMode = process . env . DEBUG && (
9
- process . env . DEBUG . toLowerCase ( ) === 'true' ||
9
+ process . env . DEBUG . toLowerCase ( ) === 'true' ||
10
10
process . env . DEBUG . includes ( 'azure-mcp' ) ||
11
11
process . env . DEBUG === '*'
12
12
)
@@ -48,7 +48,7 @@ function runExecutable(args = []) {
48
48
49
49
const child = childProcess . spawn ( execPath , args , {
50
50
stdio : 'inherit' ,
51
- shell : true
51
+ shell : false
52
52
} )
53
53
54
54
return new Promise ( ( resolve ) => {
You can’t perform that action at this time.
0 commit comments