1
0
Fork 0
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:
MineBill 2025-04-15 12:29:23 +03:00
parent 8c6092504a
commit 7f4fd1e87d
No known key found for this signature in database

View file

@ -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;