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 99fdda0 commit b124387Copy full SHA for b124387
conda.el
@@ -165,7 +165,9 @@ Set for the lifetime of the process.")
165
Cached for the lifetime of the process."
166
(if (not (eq conda--installed-version nil))
167
conda--installed-version
168
- (let ((version-output (shell-command-to-string (format "\"%s\" -V" (conda--get-executable-path)))))
+ (let ((version-output (with-temp-buffer
169
+ (call-process (conda--get-executable-path) nil '(t nil) nil "-V")
170
+ (buffer-string))))
171
(condition-case err
172
(s-with version-output
173
(s-trim)
0 commit comments