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

Windows Binary error - parsing command: executable file not found in %PATH% #329

Open
adamtimmins opened this issue Apr 7, 2023 · 5 comments

Comments

@adamtimmins
Copy link

adamtimmins commented Apr 7, 2023

Attempting to use envconsul in powershell however after it finds the KV2 secrets it errors out with the following.
2023-04-07T14:53:06.852+0100 [ERROR] envconsul: parsing command: executable file not found in %PATH%

Experiencing this with both v0.13.0 and v0.13.1.

@komapa
Copy link

komapa commented Jul 18, 2023

Maybe related to #335

@acidumirae
Copy link

We are experiencing the same issue with envconsul v0.13.2 (dd416ce)

@acidumirae
Copy link

The article does not work https://support.hashicorp.com/hc/en-us/articles/4409463187731-Using-envconsul-with-Windows

"cmd /C set" - 2023-09-21T17:03:31.361+0800 [ERROR] envconsul: parsing command: executable file not found in %PATH%

"cmd" - works but makes no useful work, since no parameters could be passed

@acidumirae
Copy link

A workaround is to use "exec" configuration, eg.:

exec {
   command = ["C:\\some.exe", "some parameter"]
}

@acidumirae
Copy link

acidumirae commented Sep 22, 2023

Quick and dirty patch for CLI to work properly on windows

https://pastebin.com/vra2H82n

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

No branches or pull requests

3 participants