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

On windows added cmd and bat when checking command #6

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

jgmdev
Copy link
Member

@jgmdev jgmdev commented Feb 14, 2024

Besides checking for .exe files we now check for .cmd and .bat files as reported on lite-xl/lite-xl-lsp#62 This commit also:

  • Uses new system.setenv to add /usr/local/bin to path if missing on MacOS
  • When logging using utils check if log file was successfully opened before trying to write into it.
  • If value returned by os.getenv is nil set result to empty string

Besides checking for .exe files we now check for .cmd and .bat files as
reported on lite-xl/lite-xl-lsp#62 This commit also:

* Uses new system.setenv to add /usr/local/bin to path if missing on
  MacOS
* When logging using utils check if log file was successfully opened
  before trying to write into it.
* If value returned by os.getenv is nil set result to empty string
@jgmdev jgmdev merged commit 76cfd52 into pragtical:master Feb 14, 2024
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

Successfully merging this pull request may close these issues.

1 participant