summaryrefslogtreecommitdiffstats
path: root/src/opener.rs
diff options
context:
space:
mode:
authorqkzk <qu3nt1n@gmail.com>2022-11-01 21:29:43 +0100
committerqkzk <qu3nt1n@gmail.com>2022-11-01 21:29:43 +0100
commit01f5f99d56a40f2e4ee90935962ee09e250b9ae0 (patch)
tree39b082eba6a785f18be01b2bd01a257a2f24d779 /src/opener.rs
parentee828e77c0b3e28d2b006543ac65a6637825c0b3 (diff)
decompress a file with ctrl+x
Diffstat (limited to 'src/opener.rs')
-rw-r--r--src/opener.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opener.rs b/src/opener.rs
index 6d42d91..abe244d 100644
--- a/src/opener.rs
+++ b/src/opener.rs
@@ -274,7 +274,7 @@ impl Opener {
}
/// Execute the command in a fork.
-fn execute_in_child(exe: &str, args: &Vec<&str>) -> FmResult<std::process::Child> {
+pub fn execute_in_child(exe: &str, args: &Vec<&str>) -> FmResult<std::process::Child> {
eprintln!("exec exe {}, args {:?}", exe, args);
Ok(Command::new(exe).args(args).spawn()?)
}