We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50e650c commit 5b77c54Copy full SHA for 5b77c54
csharp/runner/SnippetRunner/Program.cs
@@ -538,7 +538,8 @@ static void ExecuteSnippet(string snippet,
538
bool exited = process.WaitForExit(delay);
539
if (!exited && !process.HasExited)
540
{
541
- expectedExitValue = SigtermExitCode;
+ expectedExitValue = (Environment.OSVersion.Platform == PlatformID.Win32NT)
542
+ ? 1 : SigtermExitCode;
543
Console.WriteLine();
544
Console.WriteLine("Runner destroying " + snippet + " process...");
545
0 commit comments