(cmd: string)
| 9 | * and the hook spawn path in hooks.ts so the flag set stays in one place. |
| 10 | */ |
| 11 | export 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. |
no outgoing calls
no test coverage detected