emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/exec-path-from-shell 247683134a 035/114: Include shell out


From: ELPA Syncer
Subject: [nongnu] elpa/exec-path-from-shell 247683134a 035/114: Include shell output in debug messages
Date: Tue, 5 Sep 2023 03:59:58 -0400 (EDT)

branch: elpa/exec-path-from-shell
commit 247683134a4842ef133b1402c0ded26e9097cfe3
Author: Steve Purcell <steve@sanityinc.com>
Commit: Steve Purcell <steve@sanityinc.com>

    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

[Prev in Thread] Current Thread [Next in Thread]