Return exit code as signed integer from wxExecute(wxEXEC_SYNC).
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 18 Mar 2010 15:51:19 +0000 (15:51 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 18 Mar 2010 15:51:19 +0000 (15:51 +0000)
commit34e3a8105dd2f30fd20d67ac93a8b1a12f396311
tree3f1104c581040206ac388b6c6a5033e2ff4e2059
parent0772a89875f64aed57c1b8ec721e6866efe947bc
Return exit code as signed integer from wxExecute(wxEXEC_SYNC).

The caller expects the function to return -1 if the child process exited with
-1 error code and not 255 that was returned before. The function is also
documented as returning -1 if the execution fails which wasn't true neither.

Fix this by explicitly handling the exit code as signed.

Closes #11824.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
src/unix/utilsunx.cpp