# process.inherit_stdio

## 功能

让子进程继承当前进程 stdio。

## 语法

```bt
process(program).inherit_stdio()
```

## 参数

无参数。

## 返回值

| 类型 | 说明 |
| ------ | ------ |
| Process | 返回新的进程构建器。 |

## 示例

```bt
cmd = process('cmd').inherit_stdio()
result = type(cmd)

// 输出：Process
print result
```

## 注意事项

- 会覆盖 null_stdio 设置。
