Next: , Previous: , Up: Creating Asynchronous Subprocesses   [Index]


I.1.3.2 make-pipe-process

Function: &rest args

This function creates a bidirectional pipe which can be attached to a child process. This is useful with the ‘:stderr’ keyword of make-process. The function returns a process object.

ARGS

The arguments ARGS are a list of keyword/argument pairs. Omitting a keyword is always equivalent to specifying it with value ‘nil’.

Here are the meaningful keywords:

:name NAME

Use the string NAME as the process name. As with ‘make-process’, it is modified if necessary to make it unique.

:buffer BUFFER

Use BUFFER as the process buffer.

:coding CODING

If CODING is a symbol, it specifies the coding system to be used for both reading and writing of data from and to the connection. If CODING is a cons cell ‘(DECODING . ENCODING)’, then DECODING will be used for reading and ENCODING for writing.

If CODING is ‘nil’, the default rules for finding the coding system will apply.

:noquery QUERY-FLAG

Initialize the process query flag to QUERY-FLAG.

:stop STOPPED

If STOPPED is non-‘nil’, start the process in the stopped state. In the stopped state, a pipe process does not accept incoming data, but you can send outgoing data. The stopped state is set by ‘stop-process’ and cleared by ‘continue-process’

:filter FILTER

Initialize the process filter to FILTER. If not specified, a default filter will be provided, which can be changed later.

:sentinel SENTINEL

Initialize the process sentinel to SENTINEL. If not specified, a default sentinel will be used, which can be changed later.

The original argument list, modified with the actual connection information, is available via the ‘process-contact’ function.


Next: start-process, Previous: make-process—a primitive, Up: Creating Asynchronous Subprocesses   [Index]