Skip to main content

exit

Function exit 

Source
pub fn exit(ctx: &ServiceContext, status: u32) -> !
Expand description

End this program now, with status. A program that writes output ends through Output::finish instead, so the shell receives the end of its output first.