这是indexloc提供的服务,不要输入任何密码
Skip to content

Pipe mode recovery does not work #113

@greymd

Description

@greymd

We can get recovery message when xpanes works with pipe on the out side of tmux session.
This is expected behavior, but ...

$ seq 3 | ./xpanes
xpanes:Warning: Attached session is required for 'Pipe mode'.
open terminal failed: not a terminal
xpanes:Recovery: Execute below command line to re-attach the new session.

tmux -S /home/docker/.cache/xpanes/socket.5840 attach-session -t xpanes-5840

tmux -S /home/docker/.cache/xpanes/socket.5840 attach-session -t xpanes-5840 does not work because /home/docker/.cache/xpanes/socket.5840 does not exists.

$ tmux -S /home/docker/.cache/xpanes/socket.5840 attach-session -t xpanes-5840
no sessions

This is caused by the previous changes released at v3.1.1. Socket file is automatically deleted when the process exits.

It should be fixed next release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions