Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Reference Process.executable_path at PROGRAM_NAME #13434

Merged

Conversation

straight-shoota
Copy link
Member

@straight-shoota straight-shoota commented May 5, 2023

Readers of the PROGRAM_NAME docs are currently not informed about the similar and usually more convenient Process.executable_path. This patch adds a reference.
The back reference already exists.

Ref: https://forum.crystal-lang.org/t/how-to-get-the-current-running-binary-root-realpath-from-crystal-source-code/5625

src/kernel.cr Outdated Show resolved Hide resolved
Co-authored-by: Quinton Miller <nicetas.c@gmail.com>
@straight-shoota straight-shoota modified the milestones: 1.8.2, 1.9.0 May 5, 2023
@straight-shoota straight-shoota merged commit 54d6469 into crystal-lang:master May 6, 2023
@straight-shoota straight-shoota deleted the docs/program_name branch May 6, 2023 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants