mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Fix Windows output progress bar (#305)
This commit is contained in:
parent
333d574e56
commit
35447c5cb0
2 changed files with 45 additions and 18 deletions
|
|
@ -432,7 +432,7 @@ impl Downloader {
|
|||
"-y".to_string(),
|
||||
"-hide_banner".to_string(),
|
||||
"-vstats_file".to_string(),
|
||||
fifo.name(),
|
||||
fifo.path().to_string_lossy().to_string(),
|
||||
];
|
||||
command_args.extend(input_presets);
|
||||
command_args.extend(input);
|
||||
|
|
@ -584,7 +584,7 @@ impl Downloader {
|
|||
bail!("{}", String::from_utf8_lossy(result.stderr.as_slice()))
|
||||
}
|
||||
ffmpeg_progress_cancel.cancel();
|
||||
Ok(ffmpeg_progress.await??)
|
||||
ffmpeg_progress.await?
|
||||
}
|
||||
|
||||
async fn check_free_space(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue