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
This commit is contained in:
@@ -441,6 +441,7 @@ All:
|
||||
|
||||
Unix:
|
||||
|
||||
- Return signed return code from wxExecute(wxEXEC_SYNC).
|
||||
- Allow to use WX_APPNAME_DATA_DIR environment var to override the return value
|
||||
of wxStandardPaths::GetDataDir().
|
||||
|
||||
|
Reference in New Issue
Block a user