Catching input stream from child process



  • Hi everybody.
    I'm interesting in two following questions:

    1. Can I retrieve input from child process that was opened with QProcess? I tried QProcess::waitForBytesWritten() and QProcess::readAll(), but it didn't work.
    2. Can I intercept events of child process? I'm interested in keyboard events.

    For example, I open "notepad.exe". My goal is to intercept user input and modify it. Is there any solution?

    Thanks for your time.
    Sergey.


  • Moderators

    This post is deleted!


  • We can do something. You need to use event filters along with process communication. Can you paste the which you have tried ? That will help us quickly get you the solution.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.