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

Use launcher location to infer ij-dir, similar to path in argv[0] #5

Closed
jpsacha opened this issue Jun 3, 2023 · 0 comments
Closed
Labels
enhancement New feature or request
Milestone

Comments

@jpsacha
Copy link
Member

jpsacha commented Jun 3, 2023

Typically the launcher will be placed in ImageJ directory (ij-dir). Scala Native currently does not provide C side argv[0] to main().

Alternative, possibly more robust ways to determine launcher directory at runtime are considered here:
https://stackoverflow.com/questions/7051844/how-to-find-the-full-path-of-the-c-linux-program-from-within

@jpsacha jpsacha added this to the v.0.2.0 milestone Jun 7, 2023
@jpsacha jpsacha added the enhancement New feature or request label Jun 7, 2023
@jpsacha jpsacha closed this as completed Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant