# Change the default stdin behavior of RunStep to \.Inherit · gitcafe/zig

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

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

Visibility: public

Requested revision: 6a15d668ee1fd3cfc72b409e56a72b93ca46e1be

Requested commit: 6a15d668ee1fd3cfc72b409e56a72b93ca46e1be

Commit: 6a15d668ee1fd3cfc72b409e56a72b93ca46e1be

Tree: fcb831b0564293e6f033a527169c88d2f35860d8

Author: Timon Kruiper

Committer: Andrew Kelley

## Message

```
Change the default stdin behavior of RunStep to .Inherit

This behaves the same as stdout and stderr behavior which also
default to .inherit. Also adds a field to RunStep to change the behavior.

Since this is a breaking change, previous behavior can be restored by doing:
`RunStep.stdin_behavior = .Ignore`.

```

## Parents

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

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