# ProcessKiller.recursive

Enable recursive killing of child processes.

```rhai
killer.recursive(recursive: bool) -> ProcessKiller
```

When enabled, kills the target process and all its child processes.

## Parameters

- `recursive` - `true` to kill child processes, `false` for target only

## Example

```rhai
process_killer()
    .pid(12345)
    .recursive(true)
    .kill()?;
print("Process tree killed");
```
