pub fn keep_running_in( dir: &Path, running: Option<&Running>, ) -> Result<(), String>
Keeps the running session, or forgets it (None).