pub fn exit_current_and_run_next(exit_code: i32)
Expand description

Exit current task, recycle process resources and switch to the next task