Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Zellij exits session when immediately creating a new pane after a "run" #4480

@dnguyener

Description

@dnguyener

2. Issues with the Zellij UI / behavior / crash

Issue description

I've configured a keybind for "run" to execute a command. When creating a new pane immediately after the run, zellij exits. I'm able to attach to it afterwards.

Minimal reproduction

❯ zellij --version
zellij 0.43.1

Add the below keybind under the tmux section in config.kdl

        bind "g" {
            Run "top" {
                close_on_exit true
                floating false
                x "15%"
                y "15%"
                width "70%"
                height "70%"
            }
        }

As soon as it opens, create a new pane immediately with alt-n. Zellij should have exited.

Other relevant information

INFO |zellij_server | 2025-10-17 21:09:01.146 [main ] [zellij-server/src/lib.rs:581]: Starting Zellij server!
WARN |zellij_server::route | 2025-10-17 21:09:01.154 [server_router] [zellij-server/src/route.rs:1068]: Server not ready, trying to place instruction in retry queue...
WARN |zellij_server::route | 2025-10-17 21:09:01.154 [server_router] [zellij-server/src/route.rs:1213]: Server ready, retrying sending instruction.
INFO |zellij_server | 2025-10-17 21:09:01.155 [main ] [zellij-server/src/lib.rs:1761]: Compiling plugins using Cranelift
INFO |zellij_server::plugins | 2025-10-17 21:09:01.156 [wasm ] [zellij-server/src/plugins/mod.rs:243]: Wasm main thread starts
WARN |zellij_utils::input::layo| 2025-10-17 21:09:01.158 [wasm ] [zellij-utils/src/input/layout.rs:109]: Overriding plugin alias
WARN |zellij_utils::input::layo| 2025-10-17 21:09:01.158 [wasm ] [zellij-utils/src/input/layout.rs:109]: Overriding plugin alias
INFO |zellij_server::plugins::p| 2025-10-17 21:09:01.190 [async-std/runti] [zellij-server/src/plugins/plugin_loader.rs:534]: Loaded plugin 'tab-bar' from cache folder at '/home/ddd/.cache/zellij' in 11.35408ms
INFO |zellij_server::plugins::p| 2025-10-17 21:09:01.191 [async-std/runti] [zellij-server/src/plugins/plugin_loader.rs:534]: Loaded plugin 'status-bar' from cache folder at '/home/ddd/.cache/zellij' in 11.253996ms
ERROR |zellij_utils::ipc | 2025-10-17 21:09:08.817 [main ] [zellij-utils/src/ipc.rs:201]: Failed to flush ipc sender: Broken pipe (os error 32)
INFO |zellij_client | 2025-10-17 21:09:08.818 [main ] [zellij-client/src/lib.rs:669]: Bye from Zellij!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions