A pane allowing the user to interact with a subprocess.
The command which is run as a subprocess.
creates an editor in which a subprocess runs.
User input is interpreted as input to the subprocess. In particular, when the user enters
in the last line, the line is sent to the subprocess. The output of the subprocess is displayed in the pane.
The default value of command is
, which means that the actual command is determined as follows:
On Unix/Linux and Mac OS X, the value of the environment variable
is used if set, and otherwise the environment variable
is consulted. If that is not set, then
on SVR4 platforms) is run.
On Microsoft Windows 95/98/ME,
On Windows NT/2000/XP,
This function emulates user input on
(defun send-keys-to-pane-aux (pane string newline-p)
(loop for char across string
do (capi:call-editor pane char))
(capi:call-editor pane #\Return)))
This function trampolines to
on the right process:
(defun send-keys-to-pane (pane string newline-p)
pane string newline-p))
(setq sp (capi:contain
This call emulates the user typing
(send-keys-to-pane sp "dir" t)
LispWorks CAPI Reference Manual - 17 Mar 2008