Browse Source
Merge pull request #561 from jongleur1983/558-hideCmdWindowsInRunTests
#558: hide console windows during run-tests
pull/570/head
Anton Firsov
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
10 additions and
1 deletions
-
tests/ImageSharp.Tests/Formats/Jpg/Utils/LibJpegTools.cs
|
|
|
@ -65,7 +65,16 @@ namespace SixLabors.ImageSharp.Tests.Formats.Jpg.Utils |
|
|
|
} |
|
|
|
|
|
|
|
string args = $@"""{sourceFile}"" ""{destFile}"""; |
|
|
|
var process = Process.Start(DumpToolFullPath, args); |
|
|
|
var process = new Process |
|
|
|
{ |
|
|
|
StartInfo = |
|
|
|
{ |
|
|
|
FileName = DumpToolFullPath, |
|
|
|
Arguments = args, |
|
|
|
WindowStyle = ProcessWindowStyle.Hidden |
|
|
|
} |
|
|
|
}; |
|
|
|
process.Start(); |
|
|
|
process.WaitForExit(); |
|
|
|
} |
|
|
|
|
|
|
|
|