diff options
author | rabite <rabite@posteo.de> | 2020-02-14 17:47:07 +0100 |
---|---|---|
committer | rabite <rabite@posteo.de> | 2020-02-14 17:47:07 +0100 |
commit | cab23957ce69987aa6d9ef9c87e1603cd901b2e6 (patch) | |
tree | 2075858bbb0b51a2fedcbacf9b2a855c5ad20bca | |
parent | dbdd25812985649991d13411e9540e63be4f33ee (diff) |
improved/fixed default config with working archive preview
-rw-r--r-- | config.tar.gz | bin | 3928 -> 3949 bytes | |||
-rw-r--r-- | src/proclist.rs | 2 |
2 files changed, 2 insertions, 0 deletions
diff --git a/config.tar.gz b/config.tar.gz Binary files differindex 37e07f7..f33e5b9 100644 --- a/config.tar.gz +++ b/config.tar.gz diff --git a/src/proclist.rs b/src/proclist.rs index b2890cb..36c724e 100644 --- a/src/proclist.rs +++ b/src/proclist.rs @@ -261,6 +261,7 @@ impl ListView<Vec<Process>> { .to_string_lossy() .to_string()); let args = cmd.args.unwrap_or(vec![]); + let vars = cmd.vars.unwrap_or(vec![]); self.core.show_status(&format!("Running: {}", &short_cmd)).log(); @@ -268,6 +269,7 @@ impl ListView<Vec<Process>> { let handle = unsafe { Command::new(real_cmd) .args(args) + .envs(vars) .stdin(std::process::Stdio::null()) .stdout(std::process::Stdio::piped()) // Without this stderr would be separate which is no good for procview |