16 Apr
2018
16 Apr
'18
7:30 p.m.
Calling below function resulting thread launch from C# process or it is new process itself. Runtime.Py_Main(cmd.Length, cmd) I am referring console example for nPython.exe. Below is code snippet. public static int Main(string[] args) { // reference the static assemblyLoader to stop it being optimized away AssemblyLoader a = assemblyLoader; string[] cmd = Environment.GetCommandLineArgs(); PythonEngine.Initialize(); int i = Runtime.Py_Main(cmd.Length, cmd); PythonEngine.Shutdown(); return i; } Thanks
2195
Age (days ago)
2195
Last active (days ago)
0 comments
1 participants
participants (1)
-
techi eth