We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce39acc commit 5434cc0Copy full SHA for 5434cc0
lib/main.js
@@ -29,7 +29,8 @@ class PythonLanguageClient extends AutoLanguageClient {
29
}
30
31
async startServerProcess(projectPath) {
32
- const env = await shellEnv();
+ // For some reason Atom only detects the correct env if started from the command line on Mac.
33
+ const env = process.platform === "darwin" ? await shellEnv() : process.env;
34
const childProcess = cp.spawn(atom.config.get("ide-python.pylsPath"), {
35
cwd: projectPath,
36
env: env
0 commit comments