So, I’m currently trying to construct a c++ aplication that calls for a python script. The main idea is that the python script runs a loop and prints decisions based on user input. I want the cpp program to be able to wait and read(if there s an output from python). I tried to make them "talk" via a file but it turned out bad. Any ideas?
PS: im calling the script using
system("start powershell.exe C:python.exe C:help.py");
If there is any better way please let me know! Thanks
Source: Windows Questions C++