Fix corerun to support argv[0] that's not a full path
Fix corerun to support argv[0] that's not a full path

Unix's corerun tries to parse a path out of argv[0], and blows up
in std::string if no '/' is found.  This commit adds a check to make
sure that there was a '/' found, after first expanding argv[0] to an
absolute path.

Samana/coreclr,YongseopKim/coreclr,bitcrazed/coreclr,bjjones/coreclr,kyulee1/coreclr,ktos/coreclr,yeaicc/coreclr,poizan42/coreclr,krk/coreclr,Sridhar-MS/coreclr,gkhanna79/coreclr,hanu412/coreclr,mokchhya/coreclr,martinwoodward/coreclr,rartemev/coreclr,mokchhya/coreclr,bartonjs/coreclr,orthoxerox/coreclr,JonHanna/coreclr,pgavlin/coreclr,ZhichengZhu/coreclr,bartdesmet/coreclr,stormleoxia/coreclr,blackdwarf/coreclr,libengu/coreclr,tijoytom/coreclr,geertdoornbos/coreclr,Sridhar-MS/coreclr,SpotLabsNET/coreclr,AlfredoMS/coreclr,SpotLabsNET/coreclr,JonHanna/coreclr,chenxizhang/coreclr,grokys/coreclr,zmaruo/coreclr,shahid-pk/coreclr,ericeil/coreclr,JonHanna/coreclr,xoofx/coreclr,xtypebee/coreclr,manu-silicon/coreclr,parjong/coreclr,ruben-ayrapetyan/coreclr,alexperovich/coreclr,bartdesmet/coreclr,krk/coreclr,russellhadley/coreclr,yeaicc/coreclr,naamunds/coreclr,GuilhermeSa/coreclr,zmaruo/coreclr,chrishaly/coreclr,jhendrixMSFT/coreclr,James-Ko/coreclr,jhendrixMSFT/coreclr,chenxizhang/coreclr,xtypebee/coreclr,bartdesmet/coreclr,Djuffin/coreclr,taylorjonl/coreclr,kyulee1/coreclr,apanda/coreclr,mocsy/coreclr,stormleoxia/coreclr,zmaruo/coreclr,LLITCHEV/coreclr,Alcaro/coreclr,swgillespie/coreclr,matthubin/coreclr,josteink/coreclr,dasMulli/coreclr,ramarag/coreclr,cmckinsey/coreclr,mskvortsov/coreclr,cmckinsey/coreclr,pgavlin/coreclr,mskvortsov/coreclr,shahid-pk/coreclr,serenabenny/coreclr,ZhichengZhu/coreclr,schellap/coreclr,wateret/coreclr,sjsinju/coreclr,JonHanna/coreclr,krixalis/coreclr,mmitche/coreclr,bitcrazed/coreclr,LLITCHEV/coreclr,blackdwarf/coreclr,gkhanna79/coreclr,mmitche/coreclr,Alcaro/coreclr,stormleoxia/coreclr,ktos/coreclr,Alcaro/coreclr,fieryorc/coreclr,taylorjonl/coreclr,OryJuVog/coreclr,OryJuVog/coreclr,misterzik/coreclr,spoiledsport/coreclr,qiudesong/coreclr,AlexGhiondea/coreclr,andschwa/coreclr,mmitche/coreclr,xoofx/coreclr,fieryorc/coreclr,bjjones/coreclr,chuck-mitchell/coreclr,roncain/coreclr,roncain/coreclr,poizan42/coreclr,misterzik/coreclr,spoiledsport/coreclr,parjong/coreclr,geertdoornbos/coreclr,cmckinsey/coreclr,JosephTremoulet/coreclr,zmaruo/coreclr,apanda/coreclr,vinnyrom/coreclr,fernando-rodriguez/coreclr,manu-silicon/coreclr,fffej/coreclr,fieryorc/coreclr,GuilhermeSa/coreclr,MCGPPeters/coreclr,krixalis/coreclr,chuck-mitchell/coreclr,libengu/coreclr,yeaicc/coreclr,ktos/coreclr,orthoxerox/coreclr,Djuffin/coreclr,taylorjonl/coreclr,botaberg/coreclr,ganeshran/coreclr,josteink/coreclr,Godin/coreclr,blackdwarf/coreclr,chrishaly/coreclr,JosephTremoulet/coreclr,dpodder/coreclr,misterzik/coreclr,perfectphase/coreclr,russellhadley/coreclr,jakesays/coreclr,krytarowski/coreclr,SpotLabsNET/coreclr,hanu412/coreclr,ericeil/coreclr,cydhaselton/coreclr,swgillespie/coreclr,bartdesmet/coreclr,poizan42/coreclr,lzcj4/coreclr,sergey-raevskiy/coreclr,sejongoh/coreclr,jhendrixMSFT/coreclr,geertdoornbos/coreclr,Lucrecious/coreclr,SlavaRa/coreclr,ruben-ayrapetyan/coreclr,fieryorc/coreclr,shahid-pk/coreclr,iamjasonp/coreclr,martinwoodward/coreclr,fernando-rodriguez/coreclr,mmitche/coreclr,taylorjonl/coreclr,andschwa/coreclr,ruben-ayrapetyan/coreclr,andschwa/coreclr,shahid-pk/coreclr,wateret/coreclr,dasMulli/coreclr,Lucrecious/coreclr,apanda/coreclr,wkchoy74/coreclr,wateret/coreclr,AlexGhiondea/coreclr,neurospeech/coreclr,dkorolev/coreclr,martinwoodward/coreclr,fffej/coreclr,xoofx/coreclr,spoiledsport/coreclr,vinnyrom/coreclr,spoiledsport/coreclr,apanda/coreclr,roncain/coreclr,OryJuVog/coreclr,dasMulli/coreclr,chrishaly/coreclr,perfectphase/coreclr,benpye/coreclr,YongseopKim/coreclr,rartemev/coreclr,SlavaRa/coreclr,Alcaro/coreclr,MCGPPeters/coreclr,manu-silicon/coreclr,vinnyrom/coreclr,ericeil/coreclr,lzcj4/coreclr,parjong/coreclr,bjjones/coreclr,benpye/coreclr,LLITCHEV/coreclr,yeaicc/coreclr,chuck-mitchell/coreclr,bitcrazed/coreclr,cydhaselton/coreclr,gitchomik/coreclr,chrishaly/coreclr,xoofx/coreclr,wtgodbe/coreclr,dkorolev/coreclr,AlexGhiondea/coreclr,ytechie/coreclr,benpye/coreclr,AlfredoMS/coreclr,qiudesong/coreclr,neurospeech/coreclr,wtgodbe/coreclr,James-Ko/coreclr,hanu412/coreclr,dkorolev/coreclr,chuck-mitchell/coreclr,vinnyrom/coreclr,sergey-raevskiy/coreclr,perfectphase/coreclr,yizhang82/coreclr,shana/coreclr,sperling/coreclr,Godin/coreclr,mocsy/coreclr,dkorolev/coreclr,jamesqo/coreclr,mmitche/coreclr,sperling/coreclr,poizan42/coreclr,GuilhermeSa/coreclr,mokchhya/coreclr,sagood/coreclr,bjjones/coreclr,yizhang82/coreclr,serenabenny/coreclr,gkhanna79/coreclr,chenxizhang/coreclr,fffej/coreclr,DasAllFolks/coreclr,schellap/coreclr,YongseopKim/coreclr,cshung/coreclr,pgavlin/coreclr,KrzysztofCwalina/coreclr,cshung/coreclr,SlavaRa/coreclr,matthubin/coreclr,qiudesong/coreclr,wateret/coreclr,DasAllFolks/coreclr,blackdwarf/coreclr,wtgodbe/coreclr,krixalis/coreclr,mokchhya/coreclr,chaos7theory/coreclr,Dmitry-Me/coreclr,gitchomik/coreclr,botaberg/coreclr,jamesqo/coreclr,lzcj4/coreclr,tijoytom/coreclr,fernando-rodriguez/coreclr,YongseopKim/coreclr,vinnyrom/coreclr,YongseopKim/coreclr,cydhaselton/coreclr,ganeshran/coreclr,russellhadley/coreclr,shana/coreclr,SlavaRa/coreclr,sejongoh/coreclr,yizhang82/coreclr,cshung/coreclr,qiudesong/coreclr,perfectphase/coreclr,zmaruo/coreclr,martinwoodward/coreclr,bartonjs/coreclr,andschwa/coreclr,russellhadley/coreclr,dasMulli/coreclr,roncain/coreclr,matthubin/coreclr,lzcj4/coreclr,sjsinju/coreclr,pgavlin/coreclr,swgillespie/coreclr,martinwoodward/coreclr,LLITCHEV/coreclr,vinnyrom/coreclr,gkhanna79/coreclr,DickvdBrink/coreclr,SpotLabsNET/coreclr,dkorolev/coreclr,bartdesmet/coreclr,krk/coreclr,hseok-oh/coreclr,Djuffin/coreclr,qiudesong/coreclr,schellap/coreclr,richardlford/coreclr,swgillespie/coreclr,ZhichengZhu/coreclr,david-mitchell/coreclr,xtypebee/coreclr,jakesays/coreclr,ericeil/coreclr,bitcrazed/coreclr,tijoytom/coreclr,martinwoodward/coreclr,DasAllFolks/coreclr,naamunds/coreclr,SpotLabsNET/coreclr,zmaruo/coreclr,MCGPPeters/coreclr,stormleoxia/coreclr,AlfredoMS/coreclr,James-Ko/coreclr,ragmani/coreclr,manu-silicon/coreclr,Godin/coreclr,sjsinju/coreclr,fieryorc/coreclr,libengu/coreclr,orthoxerox/coreclr,dpodder/coreclr,mskvortsov/coreclr,JosephTremoulet/coreclr,sergey-raevskiy/coreclr,JosephTremoulet/coreclr,grokys/coreclr,GuilhermeSa/coreclr,xoofx/coreclr,lzcj4/coreclr,ragmani/coreclr,david-mitchell/coreclr,AlfredoMS/coreclr,dasMulli/coreclr,rartemev/coreclr,xtypebee/coreclr,schellap/coreclr,blackdwarf/coreclr,chrishaly/coreclr,tijoytom/coreclr,Lucrecious/coreclr,geertdoornbos/coreclr,dpodder/coreclr,ktos/coreclr,iamjasonp/coreclr,chaos7theory/coreclr,Djuffin/coreclr,mokchhya/coreclr,jamesqo/coreclr,kyulee1/coreclr,LLITCHEV/coreclr,LLITCHEV/coreclr,matthubin/coreclr,OryJuVog/coreclr,yizhang82/coreclr,fernando-rodriguez/coreclr,dpodder/coreclr,mocsy/coreclr,fffej/coreclr,ericeil/coreclr,dasMulli/coreclr,Dmitry-Me/coreclr,krytarowski/coreclr,sejongoh/coreclr,hseok-oh/coreclr,ramarag/coreclr,DickvdBrink/coreclr,Sridhar-MS/coreclr,jhendrixMSFT/coreclr,Dmitry-Me/coreclr,andschwa/coreclr,roncain/coreclr,shana/coreclr,wateret/coreclr,wkchoy74/coreclr,gitchomik/coreclr,russellhadley/coreclr,sperling/coreclr,iamjasonp/coreclr,DickvdBrink/coreclr,Dmitry-Me/coreclr,alexperovich/coreclr,jakesays/coreclr,ZhichengZhu/coreclr,sperling/coreclr,taylorjonl/coreclr,hseok-oh/coreclr,naamunds/coreclr,KrzysztofCwalina/coreclr,sjsinju/coreclr,neurospeech/coreclr,yeaicc/coreclr,shana/coreclr,kyulee1/coreclr,ragmani/coreclr,spoiledsport/coreclr,roncain/coreclr,fernando-rodriguez/coreclr,pgavlin/coreclr,MCGPPeters/coreclr,chaos7theory/coreclr,James-Ko/coreclr,Sridhar-MS/coreclr,krk/coreclr,iamjasonp/coreclr,manu-silicon/coreclr,xtypebee/coreclr,shana/coreclr,blackdwarf/coreclr,AlfredoMS/coreclr,bitcrazed/coreclr,Lucrecious/coreclr,SlavaRa/coreclr,James-Ko/coreclr,chenxizhang/coreclr,ktos/coreclr,stormleoxia/coreclr,sejongoh/coreclr,shahid-pk/coreclr,gitchomik/coreclr,jhendrixMSFT/coreclr,jakesays/coreclr,bartdesmet/coreclr,chaos7theory/coreclr,jamesqo/coreclr,cmckinsey/coreclr,hanu412/coreclr,perfectphase/coreclr,sperling/coreclr,Alcaro/coreclr,krytarowski/coreclr,david-mitchell/coreclr,ramarag/coreclr,josteink/coreclr,martinwoodward/coreclr,sergey-raevskiy/coreclr,sejongoh/coreclr,ramarag/coreclr,qiudesong/coreclr,mokchhya/coreclr,sagood/coreclr,Lucrecious/coreclr,jhendrixMSFT/coreclr,schellap/coreclr,bartdesmet/coreclr,orthoxerox/coreclr,geertdoornbos/coreclr,OryJuVog/coreclr,AlexGhiondea/coreclr,swgillespie/coreclr,naamunds/coreclr,libengu/coreclr,Alcaro/coreclr,gitchomik/coreclr,wtgodbe/coreclr,dpodder/coreclr,iamjasonp/coreclr,chuck-mitchell/coreclr,wtgodbe/coreclr,manu-silicon/coreclr,josteink/coreclr,Godin/coreclr,Samana/coreclr,ramarag/coreclr,Dmitry-Me/coreclr,parjong/coreclr,cmckinsey/coreclr,botaberg/coreclr,jakesays/coreclr,JosephTremoulet/coreclr,fffej/coreclr,mokchhya/coreclr,yeaicc/coreclr,serenabenny/coreclr,chaos7theory/coreclr,rartemev/coreclr,gkhanna79/coreclr,sjsinju/coreclr,JosephTremoulet/coreclr,richardlford/coreclr,dkorolev/coreclr,wkchoy74/coreclr,benpye/coreclr,KrzysztofCwalina/coreclr,Lucrecious/coreclr,jamesqo/coreclr,sagood/coreclr,ZhichengZhu/coreclr,Djuffin/coreclr,yizhang82/coreclr,spoiledsport/coreclr,alexperovich/coreclr,andschwa/coreclr,ytechie/coreclr,bartonjs/coreclr,ytechie/coreclr,krixalis/coreclr,Sridhar-MS/coreclr,grokys/coreclr,hseok-oh/coreclr,jhendrixMSFT/coreclr,poizan42/coreclr,hanu412/coreclr,ktos/coreclr,cydhaselton/coreclr,taylorjonl/coreclr,ktos/coreclr,DickvdBrink/coreclr,mocsy/coreclr,ramarag/coreclr,ganeshran/coreclr,misterzik/coreclr,ruben-ayrapetyan/coreclr,richardlford/coreclr,david-mitchell/coreclr,matthubin/coreclr,Djuffin/coreclr,ytechie/coreclr,chuck-mitchell/coreclr,sperling/coreclr,wkchoy74/coreclr,James-Ko/coreclr,richardlford/coreclr,mocsy/coreclr,jakesays/coreclr,Sridhar-MS/coreclr,benpye/coreclr,Lucrecious/coreclr,tijoytom/coreclr,gitchomik/coreclr,shana/coreclr,AlexGhiondea/coreclr,bartonjs/coreclr,cshung/coreclr,serenabenny/coreclr,libengu/coreclr,ganeshran/coreclr,bitcrazed/coreclr,bartonjs/coreclr,sagood/coreclr,ZhichengZhu/coreclr,JonHanna/coreclr,botaberg/coreclr,KrzysztofCwalina/coreclr,GuilhermeSa/coreclr,ytechie/coreclr,stormleoxia/coreclr,parjong/coreclr,hanu412/coreclr,misterzik/coreclr,dpodder/coreclr,chaos7theory/coreclr,Samana/coreclr,chenxizhang/coreclr,krixalis/coreclr,ramarag/coreclr,serenabenny/coreclr,vinnyrom/coreclr,DickvdBrink/coreclr,gkhanna79/coreclr,SpotLabsNET/coreclr,schellap/coreclr,misterzik/coreclr,blackdwarf/coreclr,chenxizhang/coreclr,geertdoornbos/coreclr,schellap/coreclr,DasAllFolks/coreclr,grokys/coreclr,cshung/coreclr,ruben-ayrapetyan/coreclr,ytechie/coreclr,DasAllFolks/coreclr,roncain/coreclr,cmckinsey/coreclr,ganeshran/coreclr,tijoytom/coreclr,hseok-oh/coreclr,alexperovich/coreclr,sergey-raevskiy/coreclr,sejongoh/coreclr,xoofx/coreclr,alexperovich/coreclr,sperling/coreclr,bjjones/coreclr,cmckinsey/coreclr,chuck-mitchell/coreclr,fernando-rodriguez/coreclr,apanda/coreclr,wkchoy74/coreclr,kyulee1/coreclr,bartonjs/coreclr,ragmani/coreclr,chrishaly/coreclr,mocsy/coreclr,pgavlin/coreclr,poizan42/coreclr,mskvortsov/coreclr,richardlford/coreclr,josteink/coreclr,sjsinju/coreclr,bitcrazed/coreclr,dasMulli/coreclr,wkchoy74/coreclr,manu-silicon/coreclr,bartonjs/coreclr,swgillespie/coreclr,Dmitry-Me/coreclr,sagood/coreclr,botaberg/coreclr,mskvortsov/coreclr,grokys/coreclr,ZhichengZhu/coreclr,libengu/coreclr,ericeil/coreclr,krk/coreclr,benpye/coreclr,matthubin/coreclr,shahid-pk/coreclr,hseok-oh/coreclr,naamunds/coreclr,Dmitry-Me/coreclr,yeaicc/coreclr,AlexGhiondea/coreclr,cydhaselton/coreclr,Godin/coreclr,ganeshran/coreclr,bjjones/coreclr,Godin/coreclr,lzcj4/coreclr,benpye/coreclr,russellhadley/coreclr,neurospeech/coreclr,yizhang82/coreclr,GuilhermeSa/coreclr,rartemev/coreclr,krk/coreclr,ragmani/coreclr,botaberg/coreclr,Godin/coreclr,AlfredoMS/coreclr,MCGPPeters/coreclr,sagood/coreclr,KrzysztofCwalina/coreclr,krytarowski/coreclr,orthoxerox/coreclr,YongseopKim/coreclr,neurospeech/coreclr,naamunds/coreclr,mskvortsov/coreclr,taylorjonl/coreclr,fffej/coreclr,david-mitchell/coreclr,neurospeech/coreclr,geertdoornbos/coreclr,parjong/coreclr,xtypebee/coreclr,serenabenny/coreclr,mocsy/coreclr,cshung/coreclr,iamjasonp/coreclr,OryJuVog/coreclr,krytarowski/coreclr,wtgodbe/coreclr,swgillespie/coreclr,wateret/coreclr,fieryorc/coreclr,mmitche/coreclr,josteink/coreclr,kyulee1/coreclr,shahid-pk/coreclr,sejongoh/coreclr,alexperovich/coreclr,DickvdBrink/coreclr,Samana/coreclr,cydhaselton/coreclr,ruben-ayrapetyan/coreclr,sergey-raevskiy/coreclr,andschwa/coreclr,josteink/coreclr,JonHanna/coreclr,SlavaRa/coreclr,Samana/coreclr,grokys/coreclr,apanda/coreclr,jamesqo/coreclr,ragmani/coreclr,stormleoxia/coreclr,naamunds/coreclr,rartemev/coreclr,MCGPPeters/coreclr,orthoxerox/coreclr,KrzysztofCwalina/coreclr,wkchoy74/coreclr,david-mitchell/coreclr,krixalis/coreclr,LLITCHEV/coreclr,richardlford/coreclr,KrzysztofCwalina/coreclr,perfectphase/coreclr,krytarowski/coreclr,Samana/coreclr,DasAllFolks/coreclr