# process.child_running

## 功能

判断当前 Process 对象是否保存子进程句柄。

## 语法

```bt
process(program).child_running()
```

## 参数

无参数。

## 返回值

| 类型 | 说明 |
| ------ | ------ |
| Bool | 存在子进程句柄返回 true，否则返回 false。 |

## 示例

```bt
cmd = process('cmd')
result = cmd.child_running()

// 输出：false
print result
```

## 注意事项

- 该方法只检查句柄是否存在，不确认进程是否仍在运行。
