# std.Io.Threaded: accept argv and environ on init · gitcafe/zig

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

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

Visibility: public

Requested revision: a29d79313a0c62843694ea723723447661239110

Requested commit: a29d79313a0c62843694ea723723447661239110

Commit: a29d79313a0c62843694ea723723447661239110

Tree: 4d5cfd244696cd5933b8b815b5500398f0117f50

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.Io.Threaded: accept argv and environ on init

This is needed unfortunately for OpenBSD and Haiku for process
executable path.

I made it so that you can omit the options usually, but you get a
compile error if you omit the options on those targets.

```

## Parents

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

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