Fix doom-exec-process not returning output
This commit is contained in:
parent
133f0d5f30
commit
679b16a22e
1 changed files with 3 additions and 1 deletions
|
@ -113,7 +113,9 @@ Warning: freezes indefinitely on any stdin prompt."
|
||||||
:connection-type 'pipe))
|
:connection-type 'pipe))
|
||||||
done-p)
|
done-p)
|
||||||
(set-process-filter
|
(set-process-filter
|
||||||
process (lambda (process output) (princ output)))
|
process (lambda (process output)
|
||||||
|
(princ output (current-buffer))
|
||||||
|
(princ output)))
|
||||||
(set-process-sentinel
|
(set-process-sentinel
|
||||||
process (lambda (process _event)
|
process (lambda (process _event)
|
||||||
(when (memq (process-status process) '(exit stop))
|
(when (memq (process-status process) '(exit stop))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue