diff --git a/src/api/process.ts b/src/api/process.ts index 4cdaed94c..705b25f25 100644 --- a/src/api/process.ts +++ b/src/api/process.ts @@ -77,11 +77,16 @@ function executeInContainer(name: string, command: string): Observable read escape sequence')) { + return; + } + if (data.includes(command)) { data = bold(yellow(command)) + '\n'; } - if (!data.trim().includes('logout') && !data.trim().includes('exit')) { + if (!data.trim().includes('logout') && !data.trim().includes('exit') && + !data.trim().includes('read escape sequence')) { observer.next({ type: 'data', data: data }); } } @@ -101,7 +106,6 @@ function executeInContainer(name: string, command: string): Observable { return new Observable(observer => { - console.log(vars); const args = ['run', '--privileged', '-dit'].concat(vars).concat('--name', name, image); const process = nodePty.spawn('docker', args);