-
Notifications
You must be signed in to change notification settings - Fork 821
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
execabs fails to run netsh
from shortcut
#914
Comments
Ah I just wanted to make a ticket, I have the same issue. However for me it does not matter if it is (the osascript I found in #888)
Both run as admin. edit:
|
I can confirm the same problem with
|
@1oglop1 What version of golang did you use to build it locally on windows? Golang 1.19 incorporated the security fix This may have changed the behavior when the current-working-directory also happens to be in I can think of 2 ways to fix it:
|
@secjosh Last time I tried the compilation it was go 1.18.3 |
FYI I removed |
I just tried out 6.6.1 and it solved the problem for me 🎉 |
.aws/config
(redacted if necessary) (does not seem to apply here)aws-vault --debug
(redacted if necessary)I'm having a shortcut on my Windows desktop which opens aws-vault in admin mode.
This used to work, but since #792 I get
login.ps1
If I open a powershell in admin mode and run
C:\Users\JonasNyrup\Desktop\login.ps1
it works.I just tried that 6.3.1 works, and 6.4.0 does not.
I'm not familiar with go or its ecosystem, but as I can read from https://go.dev/blog/path-security execabs seems to require absolute paths to commands.
The text was updated successfully, but these errors were encountered: