Index: tests/standalone/io/windows_environment_test.dart |
diff --git a/tests/standalone/io/windows_environment_test.dart b/tests/standalone/io/windows_environment_test.dart |
index 1812c2563df93e160b26dab79eeb5f44b585414f..dfe5af6ad9ecee8a6262ef03fa4bfc62a8a5efe9 100644 |
--- a/tests/standalone/io/windows_environment_test.dart |
+++ b/tests/standalone/io/windows_environment_test.dart |
@@ -20,7 +20,7 @@ set SCRIPTDIR=%~dp0 |
var scriptDir = new Path(options.script).directoryPath; |
var script = scriptDir.append('windows_environment_script.dart'); |
Process.run('cmd', |
- ['/c', funkyFile.name, dart, script.toNativePath()]).then((p) { |
+ ['/c', funkyFile.path, dart, script.toNativePath()]).then((p) { |
Expect.equals(0, p.exitCode); |
tempDir.deleteSync(recursive: true); |
}); |