Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1038)

Unified Diff: tests/stub-generator/test_config.dart

Issue 9024008: Change the process API to be completely asynchronous. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Presubmit fixes Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/stub-generator/test_config.dart
diff --git a/tests/stub-generator/test_config.dart b/tests/stub-generator/test_config.dart
index f48a42a08f3aa436ddb8b1a9dc87ce44aefbc478..83f8f0e630e7599a2abb5303d367abe81c864450 100644
--- a/tests/stub-generator/test_config.dart
+++ b/tests/stub-generator/test_config.dart
@@ -112,11 +112,10 @@ class StubGeneratorTestSuite extends StandardTestSuite {
if (configuration['verbose']) {
print("# $dartcPath ${Strings.join(args, ' ')}");
}
- Process dartcProcess = new Process(dartcPath, args);
+ Process dartcProcess = new Process.start(dartcPath, args);
dartcProcess.exitHandler = (int exitCode) {
combineFiles(filename, stubsPath, onGenerated);
};
- dartcProcess.start();
}
void processFile(String filename) {

Powered by Google App Engine
This is Rietveld 408576698