# Avoid depending on child process execution when not supported by host OS · gitcafe/zig

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

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

Visibility: public

Requested revision: 5065830aa007c374c382be9e80ba924df6cecc78

Requested commit: 5065830aa007c374c382be9e80ba924df6cecc78

Commit: 5065830aa007c374c382be9e80ba924df6cecc78

Tree: b8f8b3b601ded5d48cac007c52bd23592a62c206

Author: Cody Tapscott

Committer: Andrew Kelley

## Message

```
Avoid depending on child process execution when not supported by host OS

In accordance with the requesting issue (#10750):
- `zig test` skips any tests that it cannot spawn, returning success
- `zig run` and `zig build` exit with failure, reporting the command the cannot be run
- `zig clang`, `zig ar`, etc. already punt directly to the appropriate clang/lld main(), even before this change
- Native `libc` Detection is not supported

Additionally, `exec()` and related Builder functions error at run-time, reporting the command that cannot be run

```

## Parents

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

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