QtCreator use different kind of value to determine an invalid pid.
By example the debugger plugin use -1 as invalid pid while ProcessHandle use 0.
Probably other part of the code is to be checked as I did not checked all parts dealing with pids.
|For Gerrit Dashboard: QTCREATORBUG-17596|
|182500,4||ProjectExplorer: Move ProcessHandle to Utils for further re-use||master||qt-creator/qt-creator||Status: MERGED||+2||0|