Index: test/io.dart |
diff --git a/test/io.dart b/test/io.dart |
index 93f5c5834990aeeb301b16c50aeabb61b04e32c4..fc727e3dc6103f20d47bf77f2fd32d1bcdb7f32f 100644 |
--- a/test/io.dart |
+++ b/test/io.dart |
@@ -19,7 +19,7 @@ final String packageDir = p.dirname(p.dirname(libraryPath(#test.test.io))); |
/// The path to the `pub` executable in the current Dart SDK. |
final _pubPath = p.absolute(p.join( |
- p.dirname(Platform.executable), |
+ p.dirname(Platform.resolvedExecutable), |
Platform.isWindows ? 'pub.bat' : 'pub')); |
/// The platform-specific message emitted when a nonexistent file is loaded. |
@@ -127,7 +127,7 @@ ScheduledProcess runDart(List args, {Map<String, String> environment, |
}).toList()..addAll(args); |
return new ScheduledProcess.start( |
- p.absolute(Platform.executable), allArgs, |
+ p.absolute(Platform.resolvedExecutable), allArgs, |
workingDirectory: _sandbox, |
environment: environment, |
description: description); |