Skip to content

tmux.is_running() / os.execute issue #7

@bytesoverflow

Description

@bytesoverflow

Hello!

tmux.is_running() returns false because (for me) tmux_running is true as opposed to 0:

if tmux_running == 0 and in_tmux then

It seems that the behaviour of os.execute changed in lua 5.2, although I seem to be running 5.1, which is odd:
https://www.lua.org/manual/5.1/manual.html#pdf-os.execute
https://www.lua.org/manual/5.2/manual.html#pdf-os.execute

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