plan.Plan.run
Rust
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- plan
- Declared in
- Plan
- Package
- libtmux
- Source
- crates/libtmux/src/plan/run.rs
-
Run this plan, grouping it with
planner.The result does not depend on the planner; the number of tmux invocations, and how precisely a failure can be attributed, do.
Errors
Returns an error when tmux cannot be reached, a process cannot be captured, a slot dependency is invalid, or a creating operation does not return valid IDs. Validation happens before the first command. A command tmux *refuses* is reported through the returned
PlanResult, not as an error, because a plan may expect one.On a handle from
Server::over_control_mode, a plan holding asuper::ops::Pausefails withcrate::ControlModeErrorKind::BlockingCommandbefore anything is sent, asSelf::run_over_control_modedoes.Cancel safety
The effect can be partial: steps already dispatched stay done, and the
PlanResultnaming them, with the ids of what they created, is lost with the future. A retry runs the whole plan again.
0 declared, 0 inherited