[Accepted] SE-0513: API to get the path to the current executable

Hello, Swift community!

The second review of SE-0513: API to get the path to the current executable ended on June 30th, 2026.

Feedback on the original proposal was positive. This revision focused on two changes that were requested by the Language Steering Group: that the property should use the recently approved FilePath type, and that it should be unconditionally available regardless of target platform/environment and return nil on platforms where there is no feasible implementation.

During the second review, there were no objections to either of these changes from the community. Therefore, the Language Steering Group accepts this proposal.

Thanks to everybody who participated in the review and helps to make Swift a better language!
—Tony Allevato, review manager

10 Likes