# std.Build.Step.Run: global lock when child inherits stderr · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/4918c2ce2d739ba5e1b207a2ef32afcc04bfc435)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 4918c2ce2d739ba5e1b207a2ef32afcc04bfc435

Requested commit: 4918c2ce2d739ba5e1b207a2ef32afcc04bfc435

Commit: 4918c2ce2d739ba5e1b207a2ef32afcc04bfc435

Tree: efc061985ba14f1cef915b35f911dc49c62d7b4e

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.Build.Step.Run: global lock when child inherits stderr

The docs for setting stdio to "inherit" say:

It also means that this step will obtain a global lock to prevent other
steps from running in the meantime.

The implementation of this lock was missing but is now provided by this
commit.

closes #20119

```

## Parents

- [c564a16a01811c18113fe304dbc3e8255af9f172](https://git.cafe/gitcafe/zig/commit/c564a16a01811c18113fe304dbc3e8255af9f172?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/4918c2ce2d739ba5e1b207a2ef32afcc04bfc435?format=markdown)
