Issue #1119: test corrected.
diff --git a/Language/Libraries_and_Scripts/Scripts/top_level_main_t06.dart b/Language/Libraries_and_Scripts/Scripts/top_level_main_t06.dart
index a78440a..fc41d98 100644
--- a/Language/Libraries_and_Scripts/Scripts/top_level_main_t06.dart
+++ b/Language/Libraries_and_Scripts/Scripts/top_level_main_t06.dart
@@ -15,8 +15,11 @@
   String executable = Platform.resolvedExecutable;
   String eScript = Platform.script.toString().replaceAll(".dart", "_lib.dart");
   int called = 0;
-  await Process.run(executable, [eScript]).then((ProcessResult results) {
-    Expect.notEquals(0, results);
+
+  await Process.run(
+      executable, [...Platform.executableArguments, eScript])
+      .then((ProcessResult results) {
+    Expect.notEquals(0, results.exitCode);
     called++;
   });
   Expect.equals(1, called);