Skip to content

Commit

Permalink
fixed issue of terminal programs like fzf not recognizing stdin as te…
Browse files Browse the repository at this point in the history
…rminal (#267)
  • Loading branch information
DenSA-Inc committed Mar 20, 2020
1 parent 790e24e commit c12c2ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/flows/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
Expand Down

0 comments on commit c12c2ab

Please sign in to comment.