Make use of getexecpath() on OpenBSD for executable path retrieval #36742

Open
opened 2026-09-03 04:32:12 +02:00 by brad0 · 4 comments
Contributor

I came across this issue on GitHub..

https://github.com/ziglang/zig/issues/6718

Guess what?

OpenBSD now has getexecpath() to do exactly this! 8.0 will be out in a few weeks.

I came across this issue on GitHub.. https://github.com/ziglang/zig/issues/6718 Guess what? OpenBSD now has getexecpath() to do exactly this! 8.0 will be out in a few weeks.
Author
Contributor
cc @andrewrk
Owner

Neat! Thanks for the heads up.

Neat! Thanks for the heads up.
alexrp added this to the Urgent milestone 2026-09-03 04:47:17 +02:00
Contributor
https://man.openbsd.org/getexecpath.3
alexrp modified the milestone from Urgent to 0.19.0 2026-09-07 12:59:04 +02:00

OpenBSD 8.0 is out now: https://www.openbsd.org/80.html

Added getexecpath(3) to provide copy of the elf(5) program's execution path.

OpenBSD 8.0 is out now: https://www.openbsd.org/80.html > Added getexecpath(3) to provide copy of the elf(5) program's execution path.
Sign in to join this conversation.
No milestone
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ziglang/zig#36742
No description provided.