Skip to content

Evaluate symlink if the process was called using that#96

Open
Hritik14 wants to merge 1 commit into
jpillora:masterfrom
Hritik14:Hritik14-patch-1
Open

Evaluate symlink if the process was called using that#96
Hritik14 wants to merge 1 commit into
jpillora:masterfrom
Hritik14:Hritik14-patch-1

Conversation

@Hritik14

Copy link
Copy Markdown

From https://pkg.go.dev/os#Executable

if a symlink was used to start the process, depending on the operating system, the result might be the symlink or the path it pointed to. If a stable result is needed, path/filepath.EvalSymlinks might help

From https://pkg.go.dev/os#Executable
> if a symlink was used to start the process, depending on the operating system, the result might be the symlink or the path it pointed to. If a stable result is needed, path/filepath.EvalSymlinks might help
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant