Merge pull request #455 from wabbajack-tools/issue-440

Tell 7zip not to use so many threads
This commit is contained in:
Timothy Baldridge 2020-01-30 16:47:36 -07:00 committed by GitHub
commit 8991aa2ea7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -145,7 +145,7 @@ namespace Wabbajack.Common
var info = new ProcessStartInfo var info = new ProcessStartInfo
{ {
FileName = @"Extractors\7z.exe", FileName = @"Extractors\7z.exe",
Arguments = $"x -bsp1 -y -o\"{dest}\" \"{source}\"", Arguments = $"x -bsp1 -y -o\"{dest}\" \"{source}\" -mmt=off",
RedirectStandardError = true, RedirectStandardError = true,
RedirectStandardInput = true, RedirectStandardInput = true,
RedirectStandardOutput = true, RedirectStandardOutput = true,
@ -243,7 +243,7 @@ namespace Wabbajack.Common
var testInfo = new ProcessStartInfo var testInfo = new ProcessStartInfo
{ {
FileName = "7z.exe", FileName = @"Extractors\7z.exe",
Arguments = $"t \"{v}\"", Arguments = $"t \"{v}\"",
RedirectStandardError = true, RedirectStandardError = true,
RedirectStandardInput = true, RedirectStandardInput = true,