interactive-pane-execute-command interactive-pane command &key command-modification-function editp &allow-other-keys
The generic function interactive-pane-execute-command
has the same effect as the user typing the Lisp form
command
into the interactive-pane
interactive-pane
, and pressing
Return
.
interactive-pane-execute-command
may be called from any process.
If
command-modification-function
is non-nil, it is a function of one argument. It is called with argument
command
in the process in which
interactive-pane
runs. The result of this call is used as the command to enter. The default value of
command-modification-function
is nil
.
If
editp
is true then the command is left at the end of the pane for the user to edit before pressing Return
. If
editp
is nil
then interactive-pane-execute-command
simulates the user pressing
Return
. The default value of
editp
is nil
.
CAPI User Guide and Reference Manual (Unix version) - 3 Aug 2017