pub fn with_working_dir<T, E, IE>( working_dir: impl AsRef<Path>, f: impl FnOnce() -> Result<T, IE>, ) -> Result<T, WithWorkingDirError<E>>where E: StdError + From<IE>,