pub fn prepare_daemon_exe_in( canonical: &Path, dir: &Path, ) -> Result<PathBuf, Error>
Test seam for prepare_daemon_exe: copies canonical into dir (which is created if missing) and returns the destination path.
prepare_daemon_exe
canonical
dir