this.dialogService.show(Severity.Info,nls.localize('warnEscalationUninstall',"Code will now prompt with 'osascript' for Administrator privileges to uninstall the shell command."),buttons,{cancelId:1}).then(choice=>{
switch(choice){
case0/* OK */:
constcommand='osascript -e "do shell script \\"rm \''+this.target+'\'\\" with administrator privileges"';
nfcall(cp.exec,command,{})
.then(null,_=>TPromise.wrapError(newError(nls.localize('cantUninstall',"Unable to uninstall the shell command '{0}'.",this.target))))