Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit37c2449

Browse files
author
dse
committed
Stability tests improved, compile warning fixed.
1 parent90e073a commit37c2449

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

‎src/embed_tests/Program.cs

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,16 @@ public static int Main(string[] args)
3838
dynamicos=PythonEngine.ImportModule("os");
3939
os.environ["PATH"]=newPyString(pathEnv);
4040
}
41-
}while(true);
41+
}
42+
while(!Console.KeyAvailable);
4243

4344
returnresult;
4445
}
45-
else
46-
{
47-
returnnewAutoRun(typeof(Program).Assembly).Execute(
48-
args,
49-
newExtendedTextWrapper(Console.Out),
50-
Console.In);
51-
}
46+
47+
returnnewAutoRun(typeof(Program).Assembly).Execute(
48+
args,
49+
newExtendedTextWrapper(Console.Out),
50+
Console.In);
5251
}
5352
}
5453
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp