t-cann/embeddingPython

embedding_python_examples/example1 - issues with more than one arg

Closed this issue · 1 comments

Run
./example1 + args
Should return number of args but only works when number of args is equal to one because the way the main interpreter is called with Py_Main.

If only passes one arg to Py_Main has a core dump for more arguments.

Closed in #10