Commit graph

10 commits

Author SHA1 Message Date
Jan De Dobbeleer c2bc901a41 refactor: command caching without leaking 2021-01-08 20:59:11 +01:00
Jan De Dobbeleer 836763c002 refactor: run commands natively 2021-01-08 20:59:11 +01:00
lnu abfbb27765 fix: don't check language version in Enabled()
fix: align dotnet segment with other languages
feat: missing command text + json schema updated
chore: doc updated
perf: cache executable path
chore: not supported version icon updated(previus one was unreadable)
2020-12-31 16:59:13 +01:00
Jan De Dobbeleer d9d2430ae9 fix: wait for command to complete
without wait(), the *ProcessState is nil, meaning we can't access
the ExitCode(). On Windows, calling wait() introduces a timeout
which makes things run slower, which is why we only call wait()
in case of an error. That should not be the main use-case.

relates to #285
2020-12-31 13:29:42 +01:00
Jan De Dobbeleer 4c771d3e15 fix: add timeout to http requests
this caused a serious delay on windows
2020-12-31 09:47:32 +01:00
Jan De Dobbeleer 5fa33f4c4f fix: use commandError on cmd failure
relates to #285
2020-12-31 09:06:13 +01:00
Jan De Dobbeleer e0a4482d4b fix: parse error message when running command 2020-12-30 20:10:42 +01:00
Laurent Nullens 8c812812ee fix: *env.args.Shell not set in getShellName(cache never used)
*env.args.Shell was never set in getShellName.
2020-12-27 22:38:03 +01:00
Jan De Dobbeleer b427a0e8a4 refactor: cache shell name 2020-12-27 18:23:40 +01:00
Jan De Dobbeleer ed2eac8e12 feat: adjust source code layout 2020-12-25 20:11:24 +01:00
Renamed from environment.go (Browse further)