# LibTmux.FSharp.SessionSpec.running

- **Module:** LibTmux.FSharp
- **Package:** LibTmux.FSharp
- **Language:** F#
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux.FSharp/Spec.fsi#L98
- **Page:** https://libtmux.org/en/fsharp/latest/reference/libtmux-fsharp-sessionspec-running/

```
val running: name: string -> command: string -> SessionSpec
```

A named session whose one window runs a command instead of the default shell.

Such as <c>SessionSpec.running "build" "/bin/sh"</c>, for a shell that <c>Pane.run</c> accepts whatever the user's login shell is.

## Parameters

- `name` (`string`)
- `command` (`string`)
