Skip to content

Commit cacc8af

Browse files
committed
fix: prevent terminal Windows to popup on Windows when run from a GUI application.
1 parent 1257fbd commit cacc8af

File tree

1 file changed

+1
-1
lines changed
  • gix-credentials/src/program

1 file changed

+1
-1
lines changed

gix-credentials/src/program/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ impl Program {
7171
let git_program = gix_path::env::exe_invocation();
7272
let mut cmd = match &self.kind {
7373
Kind::Builtin => {
74-
let mut cmd = Command::new(git_program);
74+
let mut cmd = Command::from(gix_command::prepare(git_program));
7575
cmd.arg("credential").arg(action.as_arg(false));
7676
cmd
7777
}

0 commit comments

Comments
 (0)