diff --git a/Cargo.lock b/Cargo.lock index 13976b9..f1b3687 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,4 +4,4 @@ version = 3 [[package]] name = "unzip-all" -version = "0.2.1" +version = "0.2.0" diff --git a/Cargo.toml b/Cargo.toml index c025fe8..c5df0e3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unzip-all" -version = "0.2.1" +version = "0.2.0" authors = ["licsber "] edition = "2021" diff --git a/src/unar.rs b/src/unar.rs index b99b8f6..b4dd45e 100644 --- a/src/unar.rs +++ b/src/unar.rs @@ -1,6 +1,6 @@ use std::io; use std::path::Path; -use std::process::{Command, Stdio}; +use std::process::Command; pub fn unar_file(path: &Path) -> io::Result<()> { println!("UNAR: {}", path.display()); @@ -16,8 +16,6 @@ pub fn unar_file(path: &Path) -> io::Result<()> { .current_dir(parent_dir) .arg("-s") // -force-skip: skip if exists .arg(filename) - .stdout(Stdio::inherit()) - .stderr(Stdio::inherit()) .spawn()?.wait_with_output(); match output {