# libtmux.SnapshotSession.path

- **Module:** libtmux
- **Package:** libtmux
- **Language:** Lua
- **Kind:** attribute
- **Source:** https://github.com/libtmux/libtmux-lua/blob/d68f829fe097e38dcbbf7147e276666fe615f0cf/lua/libtmux/_internal/fields.lua#L20
- **Inherited from:** libtmux.Fields.Session
- **Page:** https://libtmux.org/en/lua/v0.1.1/reference/libtmux-snapshotsession-path/

## In other ports

The directory a new window in this session starts in

| Language | Equivalent |
| --- | --- |
| Python | no equivalent on `Session` |
| TypeScript | no equivalent on `Session` |
| Rust | [`session.Session.path`](/en/rs/latest/reference/session-session-path/) (method) |
| Go | [`tmux.Session.Path`](/en/go/latest/reference/tmux-session-path/) (method) |
| Java | no equivalent on `Session` |
| C# | no equivalent on `Session` |
| C++ | [`libtmux::Session::path`](/en/cxx/latest/reference/libtmux-session-path-dilj/) (method) |
| Swift | no equivalent on `Session` |

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