-
-
Notifications
You must be signed in to change notification settings - Fork 45
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] Cannot execute symlinks for installed tools under $AQUA_ROOT_DIR/bin #885
Comments
Thank you for your report.
In my environment, the windows isn't shown. I'll take a look. |
Note that aqua's Windows Support is still under development. |
I forgot to mention something important. All the above results were verified with Powershell; using Git Bash gave different results.
|
Reproduced the issue with PowerShell.
https://www.google.co.jp/search?q=PowerShell+How+do+you+want+to+open+this+file
PS D:\Users\shunsukesuzuki\workspace\powershell> aqua exec -- tfcmt -v
tfcmt version 3.2.5 (904dacccd7081d9ef2a74f5ba31f833e470fd559)
Running tfcmt directly works well. PS D:\Users\shunsukesuzuki\workspace\powershell> D:\Users\shunsukesuzuki\AppData\Local\aquaproj-aqua\pkgs\github_release\github.com\suzuki-shunsuke\tfcmt\v3.2.5\tfcmt_windows_amd64.tar.gz\tfcmt.exe -v
tfcmt version 3.2.5 (904dacccd7081d9ef2a74f5ba31f833e470fd559) |
I'm considering to replace symbolic links to few lines scripts on Windows. |
@suzuki-shunsuke $ aqua version
aqua version 1.12.0-4 (253f538a3469c660d75bb6d5fa1c327c8464f21e)
$ $Env:Path -Split ";" | Select-String aquaproj-aqua
C:\Users\pudding\.local\share\aquaproj-aqua\bat
$ aqua exec -- go version
go version go1.18.3 windows/amd64
$ go version
go version go1.18.3 windows/amd64
$ C:\Users\pudding\.local\share\aquaproj-aqua\bat\go.bat version
go version go1.18.3 windows/amd64 |
Thank you for your confirmation. |
aqua version
Environment
I understand that Windows is not officially supported. I am not an expert on Windows myself.
I would be happy if there is anything useful information.
Overview
How to reproduce
Enable "Developer Mode"[1] and restart the computer to allow non-admin user to create symlink.
There is no executable binary named
go
without the symlink created by aqua.Debug Output
Execute
go
command withAQUA_LOG_LEVEL=debug
does not show any logs.Expected Behaviour
Either of the following methods will produce the correct results.
Actual Behaviour
Execute
go
command, then "How to open the file" window is shown.I am a Japanese user so the UI is displayed in Japanese. Sorry.
The same result was obtained when executed with an absolute path.
$ C:\Users\pudding\.local\share\aquaproj-aqua\bin\go
Important Factoids
aqua-proxy
under the$AQUA_ROOT_DIR\bin
is executable (and it exit immediately).This may be unrelated, but some errors are shown when exec the command by
aqua exec
.The file actually exists.
References
[1] Developer Mode features and debugging
The text was updated successfully, but these errors were encountered: