diff --git a/xunit.runner.wpf/Impl/RemoteTestUtil.cs b/xunit.runner.wpf/Impl/RemoteTestUtil.cs index 0c97f1c..322769b 100644 --- a/xunit.runner.wpf/Impl/RemoteTestUtil.cs +++ b/xunit.runner.wpf/Impl/RemoteTestUtil.cs @@ -84,6 +84,8 @@ namespace Xunit.Runner.Wpf.Impl processStartInfo.FileName = typeof(Xunit.Runner.Worker.Program).Assembly.Location; processStartInfo.Arguments = $"{pipeName} {Process.GetCurrentProcess().Id}"; processStartInfo.WindowStyle = ProcessWindowStyle.Hidden; + processStartInfo.UseShellExecute = false; + processStartInfo.CreateNoWindow = true; var process = Process.Start(processStartInfo); return new ProcessInfo(pipeName, process); }