Skip to content

Commit

Permalink
Pipe brew --cellar.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean1708 committed Nov 10, 2015
1 parent 22ee8d9 commit db6b245
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ fn main() {
// This is hardly going to be a bottleneck but it's not needed until later so we can happily
// let it chug along in the background.
let cellar = process::Command::new("brew").arg("--cellar")
.stdin(process::Stdio::null())
.stdout(process::Stdio::piped())
.stderr(process::Stdio::piped())
.spawn()
.expect(msg_file_line!("could not run `brew install`"));

Expand Down

0 comments on commit db6b245

Please sign in to comment.