Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

test.TestServer.daemon_pid

Rust
  • Python Unavailable
  • TypeScript Unavailable
  • Rust
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
test
Declared in
TestServer
Package
libtmux
Source
crates/libtmux/src/test.rs
daemon_pid ( self ) → u32
method [source]
method [source]
daemon_pid

Return the retained foreground daemon PID.

This is the PID captured at spawn time, not a liveness probe.

Examples

let guard = libtmux::test::TestServer::new().await?;
assert!(guard.daemon_pid() > 1);
guard.shutdown().await?;

0 declared, 0 inherited

Esc

Type to search.