pub fn exec_in_target<W: Write>( cwd: &Path, target: &str, cmd: &[String], out: &mut W, ) -> Result<i32>