Chromium Code Reviews

Unified Diff: lib/src/runner/browser/compiler_pool.dart

Issue 1101773002: Add Windows support. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Unused import Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « lib/src/executable.dart ('k') | lib/src/runner/browser/server.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/runner/browser/compiler_pool.dart
diff --git a/lib/src/runner/browser/compiler_pool.dart b/lib/src/runner/browser/compiler_pool.dart
index 0e89690c38d8bf71880fc36f5bf15c76374904c9..2122f07d8d3eafd279d43e9266d25f64dd958868 100644
--- a/lib/src/runner/browser/compiler_pool.dart
+++ b/lib/src/runner/browser/compiler_pool.dart
@@ -108,8 +108,8 @@ void main(_) {
// that we're done printing everything about one process before we start the
// next.
Future.wait([
- compiler.process.stdout.listen(stdout.add).asFuture(),
- compiler.process.stderr.listen(stderr.add).asFuture(),
+ santizeForWindows(compiler.process.stdout).listen(stdout.add).asFuture(),
+ santizeForWindows(compiler.process.stderr).listen(stderr.add).asFuture(),
compiler.process.exitCode.then((exitCode) {
if (exitCode == 0 || _closed) return;
throw new LoadException(compiler.path, "dart2js failed.");
« no previous file with comments | « lib/src/executable.dart ('k') | lib/src/runner/browser/server.dart » ('j') | no next file with comments »

Powered by Google App Engine