c++ - Howto call external program and get it's output from another program -
howto in c++:
suppose program a command line tool inputs (for example file paths , number), according it's inputs, may other parameters during runtime. (if(condithin) cin<<something) i'd call a program b , want see complete output of a during it's running. a's inputs must entered (if necessary). b gui tool written qt , a must shown in plain text area , it's inputs must shown in same place (like console client).
i don't know start. reading ipc didn't help. know it's possible because see dolphin's console window , python interpreter in eric ide...
since use qt, using qprocess best way it.
Comments
Post a Comment