Fix user/vars expansion.
@@ -221,8 +221,9 @@ class LanguageClient:
logger.info('Begin LanguageClientStart')
self.languageId = languageId
- command = os.path.expandvars(
- os.path.expanduser(self.serverCommands[languageId]))
+ command = self.serverCommands[languageId]
+ command = [os.path.expandvars(os.path.expanduser(cmd))
+ for cmd in command]
self.server[languageId] = subprocess.Popen(
# ["/bin/bash", "/tmp/wrapper.sh"],
