# LibTmux::Model::ClientRef.popup-async

- **Module:** LibTmux::Model
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-raku/blob/0b5dd3d32e20f83a0069874e33eab0eb48f55962/lib/LibTmux/Client.rakumod#L188
- **Inherited from:** LibTmux::Client::ClientTarget
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-model-clientref-popup-async/

```
method popup-async(Str:D :$shell-command!, PaneId:D :$pane!, Positive:D :$timeout-ms!,
                       Str:D :$title = '', Str :$directory = Str,
                       Positive :$width = Positive, Positive :$height = Positive,
                       Str:D :$x = 'C', Str:D :$y = 'C',
                       Str:D :$close = 'exit', Bool:D :$border = True,
                       Bool:D :$close-on-key = False, Bool:D :$reset-flags = False,
                       *%operation --> Promise:D)
```

Start an explicitly supplied shell command in a popup; wait asynchronously.

Start an explicitly supplied shell command in a popup; wait asynchronously.

## Parameters

- `$shell-command` (`Str:D`)
- `$pane` (`PaneId:D`)
- `$timeout-ms` (`Positive:D`)
- `$title?` (`Str:D`)
- `$directory?` (`Str`)
- `$width?` (`Positive`)
- `$height?` (`Positive`)
- `$x?` (`Str:D`)
- `$y?` (`Str:D`)
- `$close?` (`Str:D`)
- `$border?` (`Bool:D`)
- `$close-on-key?` (`Bool:D`)
- `$reset-flags?` (`Bool:D`)
- `%operation`

## tmux command

The tmux commands behind `popup-async`.

- [`display-popup`](/en/tmux/latest/manual/display-popup/)

## tmux C API

The C declarations in tmux that implement these commands.

- [`cmd_display_popup_entry`](/en/tmux/latest/reference/c-variable-cmd_display_popup_entry/) (attribute)
- [`cmd_display_popup_exec`](/en/tmux/latest/reference/c-function-cmd-display-menu-c-cmd_display_popup_exec/) (function)

## In other ports

Open a popup over the client showing a pane

| Language | Equivalent |
| --- | --- |
| Python | [`libtmux.Pane.display_popup`](/en/py/latest/reference/libtmux-pane-display_popup/) (method) |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | [`pane.Pane.displayPopup`](/en/ts/latest/reference/pane-pane-displaypopup/) (method) |
| Rust | no equivalent on `Pane` |
| Go | [`tmux.Pane.DisplayPopup`](/en/go/latest/reference/tmux-pane-displaypopup/) (method) |
| Java | no equivalent on `Pane` |
| C# | [`LibTmux.Pane.DisplayPopupAsync`](/en/csharp/latest/reference/libtmux-pane-displaypopupasync/) (method) |
| C++ | no equivalent on `Pane` |
| Swift | no equivalent on `Pane` |
| OCaml | No direct public OCaml equivalent is recorded for this operation. |
| Perl | No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands. |

No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.
