Details
-
Suggestion
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
None
Description
QProcess::execute() starts a process and returns the error code of the process. If the process that was tried to start fails to start, then the error code 0 is returned, which makes the returned value mostly useless - you would never know whether the process failed to start or exited successfully. The function should return -1 for failed to start processes. This would be consistent with ::system() behavior.