pub fn change_running_in(
dir: &Path,
change: impl FnOnce(&mut Running),
) -> Result<bool, String>Expand description
The running session, as the file holds it now, changed by change and
kept, all under the file’s lock, which the sharing takes too: a press
is set over the session as it is then. Whether one was running.