Skip to content

Commit 6b33f2c

Browse files
bdf369MatthewZMD
authored andcommitted
Fix: Use process-file to get aider version. Fixes #155
1 parent 9d819c1 commit 6b33f2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aidermacs.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ Uses cached version if available to avoid repeated process calls."
163163
(setq aidermacs--cached-version
164164
(with-temp-buffer
165165
(setq-local exec-path path)
166-
(when (= 0 (call-process aidermacs-program nil t nil "--version"))
166+
(when (= 0 (process-file aidermacs-program nil t nil "--version"))
167167
(goto-char (point-min))
168168
(when (re-search-forward "aider \\([0-9]+\\.[0-9]+\\.[0-9]+\\)" nil t)
169169
(match-string 1)))))))

0 commit comments

Comments
 (0)