# io.github.libtmux.kotlin.Pane.respawn

- **Module:** io.github.libtmux.kotlin
- **Package:** io.github.libtmux:libtmux-kotlin
- **Language:** Kotlin
- **Kind:** method
- **Source:** https://libtmux.org/en/kotlin/latest/reference/sources/libtmux-kotlin/build/generated/sources/operations/kotlin/io/github/libtmux/kotlin/PaneOperations.kt
- **Page:** https://libtmux.org/en/kotlin/latest/reference/io-github-libtmux-kotlin-pane-respawn/

```
public suspend fun Pane.respawn(): Unit

public suspend fun Pane.respawn(vararg command: String): Unit
```

Kills whatever runs here and starts the pane's default command again.

## Parameters

- `command` (`String`) (for `respawn(command)`)
