Skip to content

ResolvedCommand

View as Markdown

Defined in: node/exe.ts:20

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[] node/exe.ts:22
file string node/exe.ts:21
via "cmd" | "direct" | "node-shim" node/exe.ts:23