How to do it in C ++:
Suppose a program Ais a command-line tool with some inputs (for example, file paths and a number), according to its input, it can receive some other parameters at runtime. ( if(condithin) cin<<something) I would call Afrom another program Band want to see the full output Aduring its operation. Input Amust be entered (if necessary). Bis a gui tool written with Qt and Ashould be displayed in the plaintext area, and its inputs should be displayed in one place (for example, the console client).
I just don't know where to start. Reading something about IPC did not help. I know this is possible because I see the Dolphin console window and the python interpreter in Eric IDE ...
source
share