Don't ignore child process output if it exits with -1 exit code.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 3 Jul 2013 00:33:04 +0000 (00:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 3 Jul 2013 00:33:04 +0000 (00:33 +0000)
commitd1c063b90f4d09656f7b9b42dbad8e8f59c752b5
tree63ea0f807b985b330b5a619f4805d824ce8ea193
parentd6655d446d61beb046b777a34630fd1d8fb1d392
Don't ignore child process output if it exits with -1 exit code.

While this code is used by us if the program couldn't be launched at all, it
doesn't mean that it didn't run as -1 could also be returned by the child
process to indicate an error after outputting something, so we should still
read its output in this case.

Closes #15205.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
samples/exec/exec.cpp
src/common/utilscmn.cpp