Hi, i have a simple program like this:
int main()
{
int a;
printf("something\n");
scanf("%d",&a);
}
int main()
{
int a;
printf("something\n");
scanf("%d",&a);
}
To copy to clipboard, switch view to plain text mode
and i'm running this program with QProcess but QProcess dont want to emit readyReadStandartOutput() signal until i use write().
It is possible to read data from stdout before i write something to process's stdin? and i dont mean closeWriteChannel() coz i need to write some data later after i read from stdout.
sry for my bad english,
regards
ithinkso
Bookmarks