Add reboot and shell ability in pause
This commit is contained in:
@@ -129,3 +129,7 @@ pub fn run_sdkman(base_dirs: &BaseDirs, cleanup: bool, run_type: RunType) -> Res
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn reboot() {
|
||||
Command::new("sudo").arg("reboot").spawn().ok();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user