// The use of this API is for cases where there is no backing process
// behind a terminal instance (such as when executing an custom execution task).
// There is no associated string, error text, etc, as the consumer of the renderer
...
...
@@ -918,13 +918,8 @@ export class TerminalInstance implements ITerminalInstance {
* Called when either a process tied to a terminal has exited or when a custom execution has completed.
* @param exitCode The exit code can be undefined if the terminal was exited through user action or if a custom execution callback did not provide a exit code when it finished.
this._notificationService.error(nls.localize('terminal.integrated.launchFailed','The terminal process command \'{0}{1}\' failed to launch (exit code: {2})',this._shellLaunchConfig.executable,args,exitCode));
}else{
this._notificationService.error(nls.localize('terminal.integrated.launchFailedExtHost','The terminal process failed to launch (exit code: {0})',exitCode));
this._notificationService.error(nls.localize('terminal.integrated.launchFailedExtHost','The terminal process failed to launch (exit code: {0})',exitCode));