[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/eat f912425fb4 6/7: Fix handling non-interactive processes
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/eat f912425fb4 6/7: Fix handling non-interactive processes in Eshell |
Date: |
Thu, 15 Dec 2022 10:58:37 -0500 (EST) |
branch: elpa/eat
commit f912425fb4738f7d562c5b1371672f3f964aee69
Author: Akib Azmain Turja <akib@disroot.org>
Commit: Akib Azmain Turja <akib@disroot.org>
Fix handling non-interactive processes in Eshell
* eat.el (eat--eshell-adjust-make-process-args): Check whether
the process going to be run will be interactive process.
* eat.el: Declare function 'eshell-interactive-output-p'.a
---
eat.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/eat.el b/eat.el
index 042d15e9e8..dbeb80f4d7 100644
--- a/eat.el
+++ b/eat.el
@@ -5522,6 +5522,8 @@ PROGRAM can be a shell command."
(eshell-sentinel process message))
(declare-function eshell-search-path "esh-ext" (name))
+(declare-function eshell-interactive-output-p "esh-io"
+ (&optional index handles))
(defvar eshell-current-subjob-p) ; In `esh-proc'.
;; HACK: This is a dirty hack, it can break easily.
@@ -5532,6 +5534,7 @@ Call FN with COMMAND and ARGS, and whenever
`make-process' is called,
modify its argument to change the filter, the sentinel and invoke
`stty' from the new process."
(if (or eshell-current-subjob-p
+ (not (eshell-interactive-output-p))
(and (not (eshell-search-path "stty"))
(pcase eat-eshell-fallback-if-stty-not-available
('nil nil)
- [nongnu] elpa/eat updated (8fce5fe928 -> 61695d9671), ELPA Syncer, 2022/12/15
- [nongnu] elpa/eat f912425fb4 6/7: Fix handling non-interactive processes in Eshell,
ELPA Syncer <=
- [nongnu] elpa/eat fc195410e4 1/7: Ask if 'stty' is unavailable in Eshell, ELPA Syncer, 2022/12/15
- [nongnu] elpa/eat 162ec61f3d 3/7: Remove invisible spaces when killing text, ELPA Syncer, 2022/12/15
- [nongnu] elpa/eat 35df1bc2a4 2/7: Refactor 'eat--eshell-adjust-make-process-args', ELPA Syncer, 2022/12/15
- [nongnu] elpa/eat 559c9c362c 4/7: Refactor 'eat--eshell-adjust-make-process-args', ELPA Syncer, 2022/12/15
- [nongnu] elpa/eat e597bcfbb2 5/7: Don't use '.*-char-property-.*' functions, ELPA Syncer, 2022/12/15
- [nongnu] elpa/eat 61695d9671 7/7: Decrease regexp usage while parsing output, ELPA Syncer, 2022/12/15