PDA

View Full Version : Write to QProcess from stdin



rajji_saini
12th October 2011, 19:32
Hi,

I am trying to find a way to write to QProcess from stdin.
Basically following is what I have in Dot Net that I want to do using Qt.

private static Process _serverProcess;
_serverProcess.StandardInput.WriteLine(SomeString) ;


I would really appreciate any guidance with this.


regards,
Raj

ChrisW67
13th October 2011, 06:44
Have you read the QProcess docs? What have you tried?

rajji_saini
24th October 2011, 18:45
My bad ... was in hurry ...didnt realize that QProcess inherits QIODevice and has read() write() available.