Qt 6.11 is out! See what's new in the release
blog
Catching input stream from child process
-
Hi everybody.
I'm interesting in two following questions:- Can I retrieve input from child process that was opened with QProcess? I tried QProcess::waitForBytesWritten() and QProcess::readAll(), but it didn't work.
- 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. -
Hi everybody.
I'm interesting in two following questions:- Can I retrieve input from child process that was opened with QProcess? I tried QProcess::waitForBytesWritten() and QProcess::readAll(), but it didn't work.
- 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.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.