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 90e073a commit 37c2449Copy full SHA for 37c2449
src/embed_tests/Program.cs
@@ -38,17 +38,16 @@ public static int Main(string[] args)
38
dynamic os = PythonEngine.ImportModule("os");
39
os.environ["PATH"] = new PyString(pathEnv);
40
}
41
- } while (true);
+ }
42
+ while (!Console.KeyAvailable);
43
44
return result;
45
- else
46
- {
47
- return new AutoRun(typeof(Program).Assembly).Execute(
48
- args,
49
- new ExtendedTextWrapper(Console.Out),
50
- Console.In);
51
- }
+
+ return new AutoRun(typeof(Program).Assembly).Execute(
+ args,
+ new ExtendedTextWrapper(Console.Out),
+ Console.In);
52
53
54
0 commit comments