print a prettier command string

This commit is contained in:
Folkert 2022-12-17 22:21:00 +01:00
parent a522d49558
commit 1d260530fb
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
3 changed files with 15 additions and 13 deletions

View file

@ -192,7 +192,8 @@ fn cp_unless_zig_cache(src_dir: &Path, target_dir: &Path) -> io::Result<()> {
}
fn run_command(mut command: Command, flaky_fail_counter: usize) {
let command_str = format!("{:?}", &command);
let command_str = roc_utils::pretty_command_string(&command);
let command_str = command_str.to_string_lossy();
let output_result = command.output();