mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 04:08:19 +00:00
display the command nicely
This commit is contained in:
parent
dba6a57c04
commit
b6df9fe0dc
1 changed files with 9 additions and 1 deletions
|
@ -1370,7 +1370,15 @@ pub fn preprocess_host_wasm32(host_input_path: &Path, preprocessed_host_path: &P
|
|||
}
|
||||
|
||||
fn run_build_command(mut command: Command, file_to_build: &str, flaky_fail_counter: usize) {
|
||||
let cmd_str = format!("{:?}", &command);
|
||||
let mut command_string = std::ffi::OsString::new();
|
||||
command_string.push(command.get_program());
|
||||
|
||||
for arg in command.get_args() {
|
||||
command_string.push(" ");
|
||||
command_string.push(arg);
|
||||
}
|
||||
|
||||
let cmd_str = command_string.to_str().unwrap();
|
||||
let cmd_output = command.output().unwrap();
|
||||
let max_flaky_fail_count = 10;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue