# SpawnSync (/docs/api/type-aliases/SpawnSync)



```ts
type SpawnSync = (command, args, options) => object;
```

Defined in: [packages/core/src/actionlint.ts:9](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/actionlint.ts#L9)

Minimal `spawnSync` surface so tests can drive the runner without a real binary.

## Parameters [#parameters]

### command [#command]

`string`

### args [#args]

`string`\[]

### options [#options]

#### encoding [#encoding]

`"utf8"`

#### input [#input]

`string`

## Returns [#returns]

`object`

### error? [#error]

```ts
optional error?: Error;
```

### stdout? [#stdout]

```ts
optional stdout?: string | null;
```


## Sitemap

Browse the full documentation: [Markdown sitemap](https://austenstone.github.io/actio/sitemap.md) · [XML sitemap](https://austenstone.github.io/actio/sitemap.xml)