如何将命令行参数从我的 C# 应用程序传递到 IronPython 2.x?Google 只返回有关如何使用 Iron Python 1.x 的结果。
static void Main(string[] args)
{
ScriptRuntime scriptRuntime = IronPython.Hosting.Python.CreateRuntime();
// Pass in script file to execute but how to pass in other arguments in args?
ScriptScope scope = scriptRuntime.ExecuteFile(args[0]);
}