Skip to content

Commit

Permalink
Suppress output when detecting Tectonic
Browse files Browse the repository at this point in the history
  • Loading branch information
pfoerster committed Dec 30, 2019
1 parent 1cdc634 commit 0a425f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/texlab_distro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ use self::texlive::Texlive;
use futures_boxed::boxed;
use std::collections::HashMap;
use std::path::PathBuf;
use std::process::Stdio;
use std::sync::Arc;
use tokio::process::Command;

Expand All @@ -29,6 +30,8 @@ impl DistributionKind {
pub async fn detect() -> Self {
if Command::new("tectonic")
.arg("--version")
.stdout(Stdio::null())
.stderr(Stdio::null())
.status()
.await
.is_ok()
Expand Down

0 comments on commit 0a425f9

Please sign in to comment.