MCPcopy Index your code
hub / github.com/claude-code-best/claude-code / buildPowerShellArgs

Function buildPowerShellArgs

src/utils/shell/powershellProvider.ts:11–13  ·  view source on GitHub ↗
(cmd: string)

Source from the content-addressed store, hash-verified

9 * and the hook spawn path in hooks.ts so the flag set stays in one place.
10 */
11export function buildPowerShellArgs(cmd: string): string[] {
12 return ['-NoProfile', '-NonInteractive', '-Command', cmd]
13}
14
15/**
16 * Base64-encode a string as UTF-16LE for PowerShell's -EncodedCommand.

Callers 2

execCommandHookFunction · 0.85
getSpawnArgsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected