mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Only set UseShellExecute = false for windows.
This commit is contained in:
parent
8c6092504a
commit
7f4fd1e87d
1 changed files with 2 additions and 1 deletions
|
@ -95,6 +95,8 @@ class GitManager
|
|||
if (!File.Exists(gitPath))
|
||||
gitPath.Clear();
|
||||
}
|
||||
|
||||
psi.UseShellExecute = false;
|
||||
#endif
|
||||
if (gitPath.IsEmpty)
|
||||
gitPath.Set("git");
|
||||
|
@ -103,7 +105,6 @@ class GitManager
|
|||
psi.SetArguments(mArgs);
|
||||
if (mPath != null)
|
||||
psi.SetWorkingDirectory(mPath);
|
||||
psi.UseShellExecute = false;
|
||||
psi.RedirectStandardError = true;
|
||||
psi.RedirectStandardOutput = true;
|
||||
psi.CreateNoWindow = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue