# LibTmux::Model::Session.path

- **Module:** LibTmux::Model
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-raku/blob/0b5dd3d32e20f83a0069874e33eab0eb48f55962/lib/LibTmux/Fields.rakumod#L23
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-model-session-path/

```
method path(--> Str:D)
```

Captured [`session_path`](/en/tmux/latest/catalog/formats/session_path/); local text access.

Captured [`session_path`](/en/tmux/latest/catalog/formats/session_path/); local text access.

## In other ports

The directory a new window in this session starts in

| Language | Equivalent |
| --- | --- |
| Python | no equivalent on `Session` |
| Lua | [`libtmux.SnapshotSession.path`](/en/lua/latest/reference/libtmux-snapshotsession-path/) (attribute) |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| 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` |
| OCaml | No direct public OCaml equivalent is recorded for this operation. |
| Perl | [`LibTmux::Session::path`](/en/perl/latest/reference/libtmux-session-path/) (method). Schema-validated captured data; reading performs no tmux I/O. |

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