pub fn remote_reboot_with_sudo_password(
runner: &dyn ProcessRunner,
opts: &RemoteOptions,
sudo_password: &str,
) -> Result<()>Expand description
Issue sudo reboot using a sudo password already collected by the UI.
Feeds sudo -S over captured SSH. Used by the TUI (no cooked TTY, no askpass).
ยงErrors
Returns crate::HortoError when SSH fails before reboot starts.