pub fn run_installer(dir: &Path, app: &str, captured: bool) -> Result<()>Expand description
Runs the installer for app into dir, on Linux and macOS: the binaries are replaced by renaming, so the
running ones carry on. captured, its messages are kept out of sight and the last of them make up the error
when it fails, as the app wants; otherwise they’re printed.