Skip to content

Commit

Permalink
fix win flag
Browse files Browse the repository at this point in the history
  • Loading branch information
domiSchenk committed Jul 19, 2021
1 parent ebbc730 commit bfcfd96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src-tauri/src/git.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const CREATE_NO_WINDOW: u32 = 0x08000000;
pub fn git(args: Vec<String>) -> GitResult {
let mut command = Command::new("git");
command.args(args);
#[cfg(windows)]
command.creation_flags(CREATE_NO_WINDOW);
command.stdout(Stdio::piped());
let output = command.output().expect("failed to execute process");
Expand Down

0 comments on commit bfcfd96

Please sign in to comment.