Details
Description
What happen is this:
When QProcessPrivate::findExitCode is called (in qprocess_win.cpp), pid is 0, hence the immediate crash.
Simply adding "if (pid)" solves the problem.
Note: my code was not revealling this problem with Qt 4.8.5
Note: I have entered the maybe related issue in the same time: QTBUG-33730
Attachments
Issue Links
- relates to
-
QTBUG-33730 Windows: QProcess::waitForFinished / QProcessPrivate::drainOutputPipes crash
- Closed
-
QTBUG-48697 Windows: crash in QProcessPrivate::findExitCode
- Closed