Well, it seems i need to specify some details:
Suppose i have console program (worked in text mode), without any source - only executable (so i cant change anything in this program, like put fflush() somewhere in it), which periodically outputs some info to the screen (for example, gets it from network), and allows me to input some "commands" which it then "process" and shows me result. To stop this program i need to enter "quit" command.
I want to start several such programs from one Qt application and have ability to check running status and stop/restart them if necessay. And also it would be very desirable to get access to program console.
But if i do that with QProcess start() method, i cant get program window, cant view program output and cant input anything (well, may be can - but dont see it).
If i use startDetached() - i get program window, but lose control at it from my Qt application.
Any ideas?
evgenM: closeWriteChannel() works in my simple example (just stop it), but doesnt work in other cases
Bookmarks