I'm trying to execute a process using QProcess. This process performs its job until it is interrupted by pressing the 'q' key.
I was trying to simulate pressing the 'q' key by sending the character to the process via the write() function. That did not work.
Then I found this Qt Labs blog post which I think is trying to achieve what I want. The problem is, I can't understand what the guy is doing especially the meaning of dup and dup2.
I would be very grateful if someone could explain.
Thank You
Bookmarks