# Make std.ChildProcess exit code u8 to match std.process.exit · gitcafe/zig

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

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

Visibility: public

Requested revision: a6d72fea06364da26b4efacb188303c5bddf5da3

Requested commit: a6d72fea06364da26b4efacb188303c5bddf5da3

Commit: a6d72fea06364da26b4efacb188303c5bddf5da3

Tree: 07dbec9fc4e1923a4c23f720913f6b3a2ff4d4c9

Author: Garrett Squire

Committer: Veikka Tuominen

## Message

```
Make std.ChildProcess exit code u8 to match std.process.exit

This patch adjusts the exit code for a child process to be a u8. Since
the WEXITSTATUS macro returns the lower eight bits, it's safe to assume
that we can truncate the returned u32.

```

## Parents

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

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