Skip to content

ResolvedCommand

View as Markdown

Defined in: protocol/dist/node.d.ts:34

How to start a command without a shell. via:

  • direct: file is the executable itself (claude.exe, /usr/local/bin/codex, or the .exe an npm shim points at).
  • node-shim: an npm .cmd shim for a JS bin: file is a Node binary and args[0] the JS target.
  • cmd: any other .cmd/.bat: the absolute cmd.exe with /d /s /c "<quoted line>". Spawn it with windowsVerbatimArguments: true so Node does not re-quote the line.
Property Type Defined in
args string[] protocol/dist/node.d.ts:36
file string protocol/dist/node.d.ts:35
via "cmd" | "direct" | "node-shim" protocol/dist/node.d.ts:37