# std.os.execve: handle EBADEXEC and EBADARCH · gitcafe/zig

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

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

Visibility: public

Requested revision: dfa8ab1dc9825c0c3b0433037cbb0123027ea93e

Requested commit: dfa8ab1dc9825c0c3b0433037cbb0123027ea93e

Commit: dfa8ab1dc9825c0c3b0433037cbb0123027ea93e

Tree: bff9a2066f70a10b82b2887a6d55a72ebefd8ab0

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.os.execve: handle EBADEXEC and EBADARCH

Observed on aarch64-macos when trying to execute an x86_64-macos
binary.

```

## Parents

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

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