[**zonegaze-flow**](../../../../README.md)

***

[zonegaze-flow](../../../../README.md) / [platforms/server-manager/src](../README.md) / ManagedChildProcess

# Interface: ManagedChildProcess

Defined in: [platforms/server-manager/src/index.ts:71](https://github.com/neuralpilot08/zonegaze-flow/blob/ee47e8308e50071e712017a7f8b0db560a4746ee/platforms/server-manager/src/index.ts#L71)

Minimal child-process contract used so tests can inject fake processes.

## Properties

### pid?

> `optional` **pid?**: `number`

Defined in: [platforms/server-manager/src/index.ts:72](https://github.com/neuralpilot08/zonegaze-flow/blob/ee47e8308e50071e712017a7f8b0db560a4746ee/platforms/server-manager/src/index.ts#L72)

***

### stderr?

> `optional` **stderr?**: `object`

Defined in: [platforms/server-manager/src/index.ts:76](https://github.com/neuralpilot08/zonegaze-flow/blob/ee47e8308e50071e712017a7f8b0db560a4746ee/platforms/server-manager/src/index.ts#L76)

#### on()

> **on**(`event`, `listener`): `unknown`

##### Parameters

###### event

`"data"`

###### listener

(`chunk`) => `void`

##### Returns

`unknown`

***

### stdout?

> `optional` **stdout?**: `object`

Defined in: [platforms/server-manager/src/index.ts:73](https://github.com/neuralpilot08/zonegaze-flow/blob/ee47e8308e50071e712017a7f8b0db560a4746ee/platforms/server-manager/src/index.ts#L73)

#### on()

> **on**(`event`, `listener`): `unknown`

##### Parameters

###### event

`"data"`

###### listener

(`chunk`) => `void`

##### Returns

`unknown`

## Methods

### kill()

> **kill**(`signal?`): `boolean`

Defined in: [platforms/server-manager/src/index.ts:81](https://github.com/neuralpilot08/zonegaze-flow/blob/ee47e8308e50071e712017a7f8b0db560a4746ee/platforms/server-manager/src/index.ts#L81)

#### Parameters

##### signal?

`Signals`

#### Returns

`boolean`

***

### once()

#### Call Signature

> **once**(`event`, `listener`): `unknown`

Defined in: [platforms/server-manager/src/index.ts:79](https://github.com/neuralpilot08/zonegaze-flow/blob/ee47e8308e50071e712017a7f8b0db560a4746ee/platforms/server-manager/src/index.ts#L79)

##### Parameters

###### event

`"exit"`

###### listener

(`code`, `signal`) => `void`

##### Returns

`unknown`

#### Call Signature

> **once**(`event`, `listener`): `unknown`

Defined in: [platforms/server-manager/src/index.ts:80](https://github.com/neuralpilot08/zonegaze-flow/blob/ee47e8308e50071e712017a7f8b0db560a4746ee/platforms/server-manager/src/index.ts#L80)

##### Parameters

###### event

`"error"`

###### listener

(`error`) => `void`

##### Returns

`unknown`
