On this page
withTmuxServer(socketFileName:_:)
- Package
- libtmux-swift
- Source
- Tests/TmuxFixture/TmuxFixture.swift
-
Runs
bodyagainst a private tmux server and always kills it — including when this process is killed outright.Each case gets its own socket, so cases never see each other's sessions and teardown never touches a server it did not start. The server is bootstrapped with one session named
bootstrap: a tmux server exits as soon as its last session goes away, so without one there is nothing to hold it open. Scope assertions to the objects the case created rather than to the server being otherwise empty.- Raises
0 declared, 0 inherited