Passing an argument to python exe and get return from it to c++

  arguments, c++, executable, python

I am trying to use a python program which is in executable form inside another program written in C++. What I am trying to do is passing arguments from c++ and get return of the exe inside my c++ program. I’ve figured out how to pass argument but I am looking for a way to get the result from exe without writing and reading it from a file. Is it possible to return a string from python script which is in exe form?

Source: Windows Questions C++

LEAVE A COMMENT