fn drain_stdout(
login: Arc<Login>,
stdout: ChildStdout,
success_transitioned: Arc<AtomicBool>,
) -> JoinHandle<()> ⓘExpand description
Feed stdout into the session; on a login-success line that the auth check confirms, save the account.