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..9f6a346308146c355333d08e704e65bd7edb8460 100644 |
--- a/tests/standalone/io/regress_7191_script.dart |
+++ b/tests/standalone/io/regress_7191_script.dart |
@@ -11,8 +11,7 @@ main() { |
// Start sub-process when receiving data. |
var subscription; |
subscription = stdin.listen((data) { |
- Process.start(Platform.executable, |
- [Platform.script.toFilePath()]).then((p) { |
+ Process.start(Platform.executable, [Platform.script]).then((p) { |
p.stdout.listen((_) { }); |
p.stderr.listen((_) { }); |
// When receiving data again, kill sub-process and exit. |