Make sure eshell pipelines don't drop data
commit2bfe83fcd3575d03f371a7d0e6b8c5d661bc5ac7
authorNoam Postavsky <npostavs@gmail.com>
Thu, 2 Feb 2017 14:19:43 +0000 (2 09:19 -0500)
committerNoam Postavsky <npostavs@gmail.com>
Thu, 9 Feb 2017 04:37:57 +0000 (8 23:37 -0500)
treea3597fc9f7e9f53367102a94fafe694244f7a386
parent41de25c1134e201235ac7f6e19ecb2925a7df635
Make sure eshell pipelines don't drop data

* lisp/eshell/esh-proc.el (eshell-sentinel): If called while still
handling output of the process, make sure to close the pipes only later,
so that the next process in the pipeline recieves EOF only after getting
all its input (Bug#25549).
lisp/eshell/esh-proc.el