| Index: tests/standalone/io/regress_7191_script.dart
|
| diff --git a/tests/standalone/io/regress_7191_script.dart b/tests/standalone/io/regress_7191_script.dart
|
| index a0abd405427d5ddeebf633023a3023b04ce00507..acdd14375b6694d1fe5b0c1182980752831fdbe8 100644
|
| --- a/tests/standalone/io/regress_7191_script.dart
|
| +++ b/tests/standalone/io/regress_7191_script.dart
|
| @@ -11,10 +11,10 @@ main() {
|
| // Start sub-process when receiving data.
|
| var subscription;
|
| subscription = stdin.listen((data) {
|
| - Process.start(Platform.executable,
|
| - [Platform.script.toFilePath()]).then((p) {
|
| - p.stdout.listen((_) { });
|
| - p.stderr.listen((_) { });
|
| + Process
|
| + .start(Platform.executable, [Platform.script.toFilePath()]).then((p) {
|
| + p.stdout.listen((_) {});
|
| + p.stderr.listen((_) {});
|
| // When receiving data again, kill sub-process and exit.
|
| subscription.onData((data) {
|
| // If a SIGTERM is sent before the child-process's main is invoked,
|
|
|