aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorJim Porter2024-07-19 09:34:03 -0700
committerJim Porter2024-07-19 11:22:34 -0700
commitb7893e73878df83043e05dc8cb811971c0e99f03 (patch)
tree05461dfa8d471c99a15fd6cecc0550da4b567aff /java
parent39c704e03de59a1cc46494fb71426e7a7fe8013d (diff)
downloademacs-b7893e73878df83043e05dc8cb811971c0e99f03.tar.gz
emacs-b7893e73878df83043e05dc8cb811971c0e99f03.zip
Don't set exit info in Eshell if the command is being piped elsewhere
Previously, the exit info in Eshell was that of the last command that finished, rather than the last command in a pipeline. * lisp/eshell/esh-cmd.el (eshell-exec-lisp) (eshell-lisp-command): Check whether the command is being piped. * lisp/eshell/esh-proc.el (eshell-gather-process-output): Record whether the command is being piped... (eshell-sentinel): ... and do the right thing with that info. * test/lisp/eshell/esh-proc-tests.el (esh-proc-test/sigpipe-exits-process): Check the exit status to ensure we don't report the first process's SIGPIPE exit.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions