Skip to content

Commit c7a91b8

Browse files
authored
Merge PR #453: Fix the 7-zip interop tests in the .Net 4.6 test build
1 parent 5addf0f commit c7a91b8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/ICSharpCode.SharpZipLib.Tests/Zip/ZipEncryptionHandling.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,8 @@ public static bool TryGet7zBinPath(out string path7z)
384384
{
385385
var p = Process.Start(new ProcessStartInfo(testPath, "i")
386386
{
387-
RedirectStandardOutput = true
387+
RedirectStandardOutput = true,
388+
UseShellExecute = false
388389
});
389390
while (!p.StandardOutput.EndOfStream && (DateTime.Now - p.StartTime) < runTimeLimit)
390391
{

0 commit comments

Comments
 (0)