Browse Source

#558: hide console windows during run-tests

af/merge-core
Unknown 8 years ago
parent
commit
329f284a6f
  1. 11
      tests/ImageSharp.Tests/Formats/Jpg/Utils/LibJpegTools.cs

11
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();
}

Loading…
Cancel
Save