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