Skip to content

Evaluate symlink if the process was called using that#11

Open
Hritik14 wants to merge 1 commit into
trufflesecurity:mainfrom
Hritik14:truffle
Open

Evaluate symlink if the process was called using that#11
Hritik14 wants to merge 1 commit into
trufflesecurity:mainfrom
Hritik14:truffle

Conversation

@Hritik14
Copy link
Copy Markdown

@Hritik14 Hritik14 commented Mar 9, 2025

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