# window_copy_pipe

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5530
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_pipe/

```c
static void window_copy_pipe(struct window_mode_entry *, struct session *, const char *)
```

## Parameters

- `wme` (`struct window_mode_entry *`)
- `s` (`struct session *`)
- `cmd` (`const char *`)

## Called by

- [`window_copy_cmd_pipe_no_clear`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_cmd_pipe_no_clear/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L2460)

## Calls

- [`window_copy_pipe_run`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_pipe_run/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5536)

## Referenced declarations

- [`session`](/en/tmux/3.7c/reference/c-struct-session/) (struct)
- [`window_mode_entry`](/en/tmux/3.7c/reference/c-struct-window_mode_entry/) (struct)
