File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -60,8 +60,8 @@ void main() {
6060 tempDir.path
6161 ];
6262
63- var result =
64- Process . runSync ( 'dart' , args, workingDirectory: _testPackagePath);
63+ var result = Process . runSync ( Platform .resolvedExecutable, args,
64+ workingDirectory: _testPackagePath);
6565
6666 if (result.exitCode != 0 ) {
6767 print (result.exitCode);
@@ -129,8 +129,8 @@ void main() {
129129 tempDir.path
130130 ];
131131
132- var result =
133- Process . runSync ( 'dart' , args, workingDirectory: _testPackagePath);
132+ var result = Process . runSync ( Platform .resolvedExecutable, args,
133+ workingDirectory: _testPackagePath);
134134
135135 if (result.exitCode != 0 ) {
136136 print (result.exitCode);
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ Future buildSdkDocs() async {
144144 delete (docsDir);
145145 log ('building SDK docs' );
146146 int sdkDocsGenTime = await _runAsyncTimed (() async {
147- var process = await Process .start ('dart' , [
147+ var process = await Process .start (Platform .resolvedExecutable , [
148148 'bin/dartdoc.dart' ,
149149 '--output' ,
150150 '${docsDir .path }' ,
You can’t perform that action at this time.
0 commit comments