I know it's a very general question but I am open for different options.
Let me clarify what my codes do:  

The C++ code produces multiple .png files as output as follows  
./Debug/mycpp input1path input2path output parameter1 parameter2  
The python code takes those png files to do image processing and returns them as png as well  
mypython.py inputpath outputpath

What I want to do:
* To create an "executor code" that runs and links those 2 codes
* The only criterion is that 'the executor code' should work on Ubuntu  
Any suggestions will be appreciated.  
Additional notes:
* I don't want to call c++ in python, I just want to create a 3rd code (e.g. shell script) that calls c++ first then calls python after c++ has finished it's task.
Python is perfect for such scripts, it has a complete support for such scripts.
You should look at subprocess and os modules for the complete command set for it.
Running a C++ code and a Python code consecutively