Please help:

At first I thought QProcess is wrong now by putting in the wroteToStdin signal I determined my .exe written in C doesn't read the stdin.

This is the code:
Qt Code:
  1. fgets(serialnmr,sizeof(serialnmr),stdin);
To copy to clipboard, switch view to plain text mode 

serialnmr is char * and scanf nor gets works