We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de589a9 commit 2b66512Copy full SHA for 2b66512
exec-path-from-shell.el
@@ -76,7 +76,7 @@ and may therefore contain backslashed escape sequences, but must not
76
contain the '%' character."
77
(with-temp-buffer
78
(call-process (getenv "SHELL") nil (current-buffer) nil
79
- "--login" "-i" "-c" (concat "printf \"__RESULT\\0" str "\""))
+ "--login" "-i" "-c" (concat "printf \"__RESULT\\000" str "\""))
80
(goto-char (point-min))
81
(when (re-search-forward "__RESULT\0\\(.*\\)" nil t)
82
(match-string 1))))
0 commit comments