branch: elpa/exec-path-from-shell
commit 247683134a4842ef133b1402c0ded26e9097cfe3
Author: Steve Purcell <[email protected]>
Commit: Steve Purcell <[email protected]>

    Include shell output in debug messages
    
    See #11
---
 exec-path-from-shell.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/exec-path-from-shell.el b/exec-path-from-shell.el
index 04dd317613..36534dee0b 100644
--- a/exec-path-from-shell.el
+++ b/exec-path-from-shell.el
@@ -124,6 +124,7 @@ shell-escaped, so they may contain $ etc."
     (with-temp-buffer
       (exec-path-from-shell--debug "Invoking shell %s with args %S" shell 
shell-args)
       (let ((exit-code (apply #'call-process shell nil t nil shell-args)))
+        (exec-path-from-shell--debug "Shell printed: %S" (buffer-string))
         (unless (zerop exit-code)
           (error "Non-zero exit code from shell %s invoked with args %S" shell 
shell-args)))
       (goto-char (point-min))

Reply via email to