Skip to content

Repository files navigation

LookPathEnv

This is a fork of the stdlib os/exec.LookPath function.

It does two things differently:

  • pass the environment variables by argument instead of getting it from the process global context.
  • fix a potential security issue on Windows.

That's it.

About

lpenv.LookPathEnv

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages