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

Search for terraform.exe on Windows #76

Closed
radeksimko opened this issue Apr 29, 2020 · 1 comment · Fixed by #85
Closed

Search for terraform.exe on Windows #76

radeksimko opened this issue Apr 29, 2020 · 1 comment · Fixed by #85
Assignees
Labels
bug Something isn't working
Milestone

Comments

@radeksimko
Copy link
Member

radeksimko commented Apr 29, 2020

Server Version

0.1.0

Terraform Version

0.12.24

Client Version

Sublime Text v0.9.8

Terraform Configuration Files

provider "aws" {
}

Log Output

2020/04/29 22:16:17 exec.go:172: Starting C:\ProgramData\chocolatey\bin\terraform.exe ["terraform" "version"] in "C:\\Users\\RADEKS~1\\AppData\\Local\\Temp"...
2020/04/29 22:16:17 exec.go:138: Waiting for command to finish ...
2020/04/29 22:16:18 exec.go:164: terraform run (C:\ProgramData\chocolatey\bin\terraform.exe ["terraform" "version"], in "C:\\Users\\RADEKS~1\\AppData\\Local\\Temp", pid 10808) finished with exit code 0

Expected Behavior

Server to search explicitely for terraform.exe, given that it's running on Windows.

Actual Behavior

Server did find terraform.exe per convention:

The Windows operating system searches for a file by using default file name extensions in the following order of precedence: .exe, .com, .bat, and .cmd. To run Accnt.bat when Accnt.com exists in the same directory, you must include the .bat extension at the command prompt.

but explicitness is better than implicitness.

Steps to Reproduce

  1. Open a folder in IDE with the above config
  2. Open file with the above config from that folder
  3. Watch log
@radeksimko radeksimko added the bug Something isn't working label Apr 29, 2020
@radeksimko radeksimko added this to the v0.2.0 milestone May 6, 2020
@radeksimko radeksimko self-assigned this May 6, 2020
@ghost
Copy link

ghost commented Jun 12, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the context necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Jun 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant