# std.zig.system.darwin.isSdkInstalled: fix implementation · gitcafe/zig

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

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

Visibility: public

Requested revision: c012f5d55dc59f80a3cd4fce22443a39fcbb67e9

Requested commit: c012f5d55dc59f80a3cd4fce22443a39fcbb67e9

Commit: c012f5d55dc59f80a3cd4fce22443a39fcbb67e9

Tree: a231342c69ad42700a726c70eef653fe739e944d

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.zig.system.darwin.isSdkInstalled: fix implementation

* don't assert that the child process doesn't crash
* don't give a false negative on warnings printed to stderr

Also fix getSdk from the same file in the same way

```

## Parents

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

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