exitCodeMessage=nls.localize('launchFailed.exitCodeAndCommandLine',"The terminal process \"{0}\" failed to launch (exit code: {1})",commandLine,this._exitCode);
exitCodeMessage=nls.localize('launchFailed.exitCodeAndCommandLine',"The terminal process \"{0}\" failed to launch (exit code: {1}).",commandLine,this._exitCode);
break;
}
exitCodeMessage=nls.localize('launchFailed.exitCodeOnly',"The terminal process failed to launch (exit code: {0})",this._exitCode);
exitCodeMessage=nls.localize('launchFailed.exitCodeOnly',"The terminal process failed to launch (exit code: {0}).",this._exitCode);
break;
}
if(commandLine){
exitCodeMessage=nls.localize('terminated.exitCodeAndCommandLine',"The terminal process \"{0}\" terminated with exit code: {1}",commandLine,this._exitCode);
exitCodeMessage=nls.localize('terminated.exitCodeAndCommandLine',"The terminal process \"{0}\" terminated with exit code: {1}.",commandLine,this._exitCode);
break;
}
exitCodeMessage=nls.localize('terminated.exitCodeOnly',"The terminal process terminated with exit code: {0}",this._exitCode);
exitCodeMessage=nls.localize('terminated.exitCodeOnly',"The terminal process terminated with exit code: {0}.",this._exitCode);
break;
case'object':
this._exitCode=exitCodeOrError.code;
exitCodeMessage=nls.localize('launchFailed.errorMessage',"The terminal process failed to launch: {0}",exitCodeOrError.message);
exitCodeMessage=nls.localize('launchFailed.errorMessage',"The terminal process failed to launch: {0}.",exitCodeOrError.message);