# ChildRunOptions<!-- -->

### Hierarchy

* *ChildRunOptions*

  * [CallOptions](https://docs.apify.com/sdk/js/reference/interface/CallOptions.md)
  * [StartOptions](https://docs.apify.com/sdk/js/reference/interface/StartOptions.md)
  * [CallTaskOptions](https://docs.apify.com/sdk/js/reference/interface/CallTaskOptions.md)
  * [StartTaskOptions](https://docs.apify.com/sdk/js/reference/interface/StartTaskOptions.md)

## Index[](#Index)

### Properties

* [abortWithParent](#abortWithParent)

## Properties<!-- -->[](#Properties)

### [](#abortWithParent)[](https://github.com/apify/apify-sdk-js/blob/56d34bf548452109719e494db05860534d997e43/src/actor.ts#L213)optionalabortWithParent

abortWithParent?

<!-- -->

: boolean = false

Gracefully abort the child run when this run is gracefully aborted, or when it exits through `Actor.exit()`, `Actor.fail()` or `Actor.main()`, whatever the exit code. A hard abort, timeout or crash of this run leaves the child run running, and so does ending this run without `Actor.exit()`.

Once this run is being aborted or is exiting, a call with this option throws instead of starting a run. A finished child run that is resurrected, e.g. with `resurrect()` on its client from `Actor.childRuns()`, keeps its finished status in the record and is not aborted. It cannot be combined with `token`, since the token is not stored.
