You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use _NSGetExecutablePath() instead of proc_pidpath() to get the main executable path. (#374)
This PR switches to `_NSGetExecutablePath()` when getting the path to
the current process. `_NSGetExecutablePath()` pulls from the current
process' address space, while `proc_pidpath()` involves a syscall and
potential sandbox checks.
### Checklist:
- [x] Code and documentation should follow the style of the [Style
Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md).
- [x] If public symbols are renamed or modified, DocC references should
be updated.
0 commit comments