Having looked the Python C-API documentation, I cannot figure out a way to execute a python script given just the name of the module (from c or c++ code).
Is there an equivalent C-API function for python -m module_name
?
I am using Python 2.7 embedded in a C++ executable.