# libtmux.SnapshotPane.current_path

- **Module:** libtmux
- **Package:** libtmux
- **Language:** Lua
- **Kind:** attribute
- **Source:** https://github.com/libtmux/libtmux-lua/blob/d68f829fe097e38dcbbf7147e276666fe615f0cf/lua/libtmux/_internal/fields.lua#L51
- **Inherited from:** libtmux.Fields.Pane
- **Page:** https://libtmux.org/en/lua/v0.1.1/reference/libtmux-snapshotpane-current_path/

## In other ports

A pane process's working directory

| Language | Equivalent |
| --- | --- |
| Python | [`libtmux.Pane.pane_current_path`](/en/py/latest/reference/libtmux-pane-pane_current_path/) (attribute) |
| Ruby | [`LibTmux::PaneSnapshot#current_path`](/en/ruby/latest/reference/libtmux-panesnapshot-current_path/) (method) |
| TypeScript | no equivalent on `Pane` |
| Rust | [`pane.Pane.current_path`](/en/rs/latest/reference/pane-pane-current_path/) (method) |
| Go | [`tmux.Pane.CurrentPath`](/en/go/latest/reference/tmux-pane-currentpath/) (method) |
| Java | [`io.github.libtmux.Pane.currentPath`](/en/java/latest/reference/io-github-libtmux-pane-pane-currentpath/) (method) |
| C# | no equivalent on `Pane` |
| C++ | no equivalent on `Pane` |
| Swift | [`Pane.currentPath`](/en/swift/latest/reference/pane-currentpath/) (property) |

No equivalent is recorded in PowerShell, Julia, Elixir, Kotlin, Scala or F#.
