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

tmuxp.util.run_before_script

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

API reference · Markdown

tmuxp.util.run_before_script ( script_file : str | pathlib.Path , cwd : pathlib.Path | None = None , on_line : t.Callable[[str], None] | None = None ) → int
function [source]
function [source]
tmuxp.util.run_before_script

Execute shell script, streaming output to callback or terminal (if TTY).

Output is buffered and optionally forwarded via the on_line callback.

Esc

Type to search.