Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

executablePath not honored until some other shell command is issued #32

Open
lsfinn opened this issue Aug 24, 2016 · 0 comments
Open

executablePath not honored until some other shell command is issued #32

lsfinn opened this issue Aug 24, 2016 · 0 comments

Comments

@lsfinn
Copy link

lsfinn commented Aug 24, 2016

Platform: Mac OSX 10.11.6
Atom v1.9.9
linter-check 1.3.0
Other installed packages:
git-plus v5.16.2
grammar-token-limit 0.1.1
language-latex 0.6.1
latextools v0.8.2
linter 1.11.16

Have added to config.cson
'linter-chktex':
executablePath: "/Library/TeX/texbin/chktex"

I start the atom application and edit a latex file. When I go to save the file I get two alert boxes:

  1. Failed to spawn command chktex. Make sure chktex is installed and on your PATH
  2. Error: spawn chktex ENOENT
    at exports._errnoException (util.js:890:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:182:32)
    at onErrorNT (internal/child_process.js:348:16)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

If I build the latex file using latextools:build, modify the file and save again the linter-chktex package behaves as expected.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant