Fix corerun issue when loaded from PATH (dotnet/coreclr#10745)
authorHadi Brais <hadi.b@live.com>
Sat, 8 Apr 2017 19:24:23 +0000 (00:54 +0530)
committerDan Moseley <danmose@microsoft.com>
Sat, 8 Apr 2017 19:24:23 +0000 (12:24 -0700)
commit4967260f111140ac147fd44d2a356886d93e6248
treec05de24b3cfa055b9e1db86cbd8341bf89284848
parent43ddd129e8bca6f8f5e08c290543ef0d1fdbd157
Fix corerun issue when loaded from PATH (dotnet/coreclr#10745)

Commit migrated from https://github.com/dotnet/coreclr/commit/551a7c5563105f7ec9a9d9273204d0a07a02c4fa
src/coreclr/src/coreclr/hosts/unixcoreconsole/coreconsole.cpp
src/coreclr/src/coreclr/hosts/unixcorerun/corerun.cpp
src/coreclr/src/coreclr/hosts/unixcoreruncommon/coreruncommon.cpp