use std::process; mod shell; fn main() { let mut s = Shell::new(..); match s.start() { Ok(_) => process::exit(0), Err(_) => process::exit(1), } }