# ResolvedCommand

<!-- https://uncage.vercel.app/docs/api/protocol/node/interfaces/resolvedcommand/ -->

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.

## Properties

| Property | Type | Defined in |
| ------ | ------ | ------ |
| <a id="property-args"></a> `args` | `string`[] | node/exe.ts:22 |
| <a id="property-file"></a> `file` | `string` | node/exe.ts:21 |
| <a id="property-via"></a> `via` | `"cmd"` \| `"direct"` \| `"node-shim"` | node/exe.ts:23 |
