just to make sure I understand:
for using scanf() and gets() the writeToStdin must be:
proc->writeToStdin("tester\n");
proc->writeToStdin("tester\n");
To copy to clipboard, switch view to plain text mode
because my code in my QT side is:
proc->writeToStdin("tester\n");
proc->writeToStdin("tester\n");
To copy to clipboard, switch view to plain text mode
but I use it with:
fgets(serialnmr,sizeof(serialnmr),stdin);
fgets(serialnmr,sizeof(serialnmr),stdin);
To copy to clipboard, switch view to plain text mode
and another thing I see is that nothing is displayed using readFromStdout until the program (my.exe) has exited.
I'm really in a bind please help!
Bookmarks