diff --git a/src/lib.rs b/src/lib.rs index f7fb933..489316d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -201,7 +201,7 @@ fn expand_to_file( .arg(format!("--edition={}", edition)) .arg(&dest) .current_dir(cwd) - .spawn()?; + .status()?; } let dest = dest.display().to_string();