
Originally Posted by
wysota
What do you mean by buffered? If it's buffered, you won't see it in the terminal as well... So using xterm (or not) wouldn't change a thing.
for example, such code:
puts("Some strings..");
gets(s);
puts(s);
...
puts("Some strings..");
gets(s);
puts(s);
...
To copy to clipboard, switch view to plain text mode
will not output anything to QProcess until console program end
But if you add
setvbuf(stdout,NULL,0,_IOFBF);
setvbuf(stdout,NULL,0,_IOFBF);
To copy to clipboard, switch view to plain text mode
before these strings, it will work.
Bookmarks