Follow Unix behavior and return 127 if the command is not found,
authorDan Gohman <gohman@apple.com>
Tue, 4 Aug 2009 23:15:49 +0000 (23:15 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 4 Aug 2009 23:15:49 +0000 (23:15 +0000)
commitf363bc83260b68aecc377da0b383c369ffd99b1e
tree17c56d4d0b64d5ca5033b976cde792bfc95ea105
parent4f95d2bda4235d36acd95688d0744d7363214706
Follow Unix behavior and return 127 if the command is not found,
and 126 if it is not executable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78120 91177308-0d34-0410-b5e6-96231b3b80d8
lib/System/Unix/Program.inc