pub type ExecCallback = fn(Result<(), Error>) -> Option<Box<dyn Msg>>;
Callback function type for ExecProcess.