comint-redirect-send-command

comint-redirect-send-command is an interactive autoloaded compiled Lisp function in `comint.el'.


(comint-redirect-send-command COMMAND OUTPUT-BUFFER ECHO &optional NO-DISPLAY)

Send COMMAND to process in current buffer, with output to OUTPUT-BUFFER.
With prefix arg ECHO, echo output in process buffer.

If NO-DISPLAY is non-nil, do not show the output buffer.