Function: send-string
send-string is a function alias for process-send-string, defined in
process.c.
Signature
(send-string PROCESS STRING)
Documentation
Send PROCESS the contents of STRING as input.
PROCESS may be a process, a buffer, the name of a process or buffer, or nil, indicating the current buffer's process. If STRING is larger than the input buffer of the process (the length of which depends on the process connection type and the operating system), it is sent in several bunches. This may happen even for shorter strings. Output from processes can arrive in between bunches.
If PROCESS is a non-blocking network process that hasn't been fully set up yet, this function will block until socket setup has completed.