We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
See the main_linux.go and main_windows.go files.
Daniel Theophanes suggested to use something like this: https://bitbucket.org/kardianos/osext/src
On Windows the executable's path can be obtained by a call to GetModuleFileNameW().
Though I don't see an example for Linux in the link above.
The text was updated successfully, but these errors were encountered:
Ahhh, here is Linux: https://bitbucket.org/kardianos/osext/src/364fb577de68fb646c4cb39cc0e09c887ee16376/osext_procfs.go?at=default
Sorry, something went wrong.
OS X example is using executable's directory.
No branches or pull requests
See the main_linux.go and main_windows.go files.
Daniel Theophanes suggested to use something like this:
https://bitbucket.org/kardianos/osext/src
On Windows the executable's path can be obtained by a call to GetModuleFileNameW().
Though I don't see an example for Linux in the link above.
The text was updated successfully, but these errors were encountered: