pub type BashOutput = BashEvent;
pub enum BashOutput { Stdout { line: String, }, Stderr { line: String, }, Exit { code: i32, }, Error { message: String, }, }
Standard output line
line: String
Standard error line
Exit code when process completes
code: i32
Error from the executor itself (not the command)
message: String