Sets up pipe as one end of a new named pipe and returns the other end for the child, as (success, client_handle).
is_input says which way the data flows: true for a pipe the parent writes. The child's handle is inheritable; the
caller passes it to the child and closes it. Windows only; create_process uses it, and callers rarely need it.
init_named_pipe_pair :: (
pipe: *Process.Pipe,
is_input: bool
) -> (success: bool, client_handle: W.HANDLE = W.INVALID_HANDLE_VALUE)
Parameters
- pipe: *Process.Pipe
- is_input: bool
Returns
- success: bool
- client_handle: W.HANDLE