pub type TextCallback = Box<dyn FnMut(&str) + Send>;
Receives a command’s output as text, as it arrives.
pub struct TextCallback(/* private fields */);