this.messageService.show(Severity.Error,nls.localize('TerminateAction.noProcess','The launched process doesn\'t exist anymore. If the task spawned background tasks exiting VS Code might result in orphaned processes.'));
returnundefined;
}else{
returnPromise.wrapError(nls.localize('TerminateAction.failed','Failed to terminate running task'));
this.messageService.show(Severity.Error,nls.localize('TerminateAction.noProcess','The launched process doesn\'t exist anymore. If the task spawned background tasks exiting VS Code might result in orphaned processes.'));
returnundefined;
}else{
returnPromise.wrapError(nls.localize('TerminateAction.failed','Failed to terminate running task'));
workbenchActionsRegistry.registerWorkbenchAction(newSyncActionDescriptor(BuildAction,BuildAction.ID,BuildAction.TEXT,{primary:KeyMod.CtrlCmd|KeyMod.Shift|KeyCode.KEY_B}),'Tasks: Run Build Task',tasksCategory);
workbenchActionsRegistry.registerWorkbenchAction(newSyncActionDescriptor(TestAction,TestAction.ID,TestAction.TEXT),'Tasks: Run Test Task',tasksCategory);
workbenchActionsRegistry.registerWorkbenchAction(newSyncActionDescriptor(ShowLogAction,ShowLogAction.ID,ShowLogAction.TEXT),'Tasks: Show Task Log',tasksCategory);
// workbenchActionsRegistry.registerWorkbenchAction(new SyncActionDescriptor(RunTaskAction, RunTaskAction.ID, RunTaskAction.TEXT), 'Tasks: Run Task', tasksCategory);