fixed issue of terminal programs like fzf not recognizing stdin as terminal (#267)

This commit is contained in:
densa-inc 2020-03-20 15:33:36 +01:00
parent 790e24ea49
commit c12c2abc69

View file

@ -187,7 +187,8 @@ pub fn main(variant: Variant, config: Config, contains_key: bool) -> Result<(),
Command::new("bash")
.arg("-c")
.arg(&interpolated_snippet[..])
.spawn()?;
.spawn()?
.wait()?;
}
Ok(())