buildtools/BaseTools/Source/Python/build/build.py:
Be sure that exit code is between 0 and 127 inclusive. If not,
return 127 instead. As mentioned in the python documentation for
sys.exit, the return should be in the range 0-127, or else there
may be undefined results.
(http://docs.python.org/lib/module-sys.html)
For the return code of 0x4000 (16384), it was found that several
unix-like system would end up mapping this return to 0, which was
then interpreted as a successful return.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1273
7335b38e-4728-0410-8992-
fb3ffe349368