Skip to content

Commit 4728b80

Browse files
committed
Revert "more logging"
This reverts commit 8a9c768.
1 parent 8a9c768 commit 4728b80

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

src/chrome-launcher.ts

+1-13
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
'use strict';
77

88
import * as childProcess from 'child_process';
9-
import * as readline from 'readline';
109
import * as fs from 'fs';
1110
import * as net from 'net';
1211
import * as chromeFinder from './chrome-finder';
@@ -296,18 +295,7 @@ class Launcher {
296295
'ChromeLauncher', `Launching with command:\n"${execPath}" ${this.flags.join(' ')}`);
297296
const chrome = this.spawn(
298297
execPath, this.flags,
299-
{detached: true, stdio: ['ignore', 'pipe', 'pipe', 'pipe', 'pipe'], env: this.envVars});
300-
301-
302-
const stdout = readline.createInterface({ input: chrome.stdout! });
303-
stdout.on('line', (data: string) => {
304-
console.log(`CL[pid=${chrome.pid}][out] ` + data);
305-
});
306-
307-
const stderr = readline.createInterface({ input: chrome.stderr! });
308-
stderr.on('line', (data: string) => {
309-
console.log(`CL[pid=${chrome.pid}][err] ` + data);
310-
});
298+
{detached: true, stdio: ['ignore', this.outFile, this.errFile], env: this.envVars});
311299
this.chrome = chrome;
312300

313301

0 commit comments

Comments
 (0)