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() {
60
60
tempDir.path
61
61
];
62
62
63
- var result =
64
- Process . runSync ( 'dart' , args, workingDirectory: _testPackagePath);
63
+ var result = Process . runSync ( Platform .resolvedExecutable, args,
64
+ workingDirectory: _testPackagePath);
65
65
66
66
if (result.exitCode != 0 ) {
67
67
print (result.exitCode);
@@ -129,8 +129,8 @@ void main() {
129
129
tempDir.path
130
130
];
131
131
132
- var result =
133
- Process . runSync ( 'dart' , args, workingDirectory: _testPackagePath);
132
+ var result = Process . runSync ( Platform .resolvedExecutable, args,
133
+ workingDirectory: _testPackagePath);
134
134
135
135
if (result.exitCode != 0 ) {
136
136
print (result.exitCode);
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ Future buildSdkDocs() async {
144
144
delete (docsDir);
145
145
log ('building SDK docs' );
146
146
int sdkDocsGenTime = await _runAsyncTimed (() async {
147
- var process = await Process .start ('dart' , [
147
+ var process = await Process .start (Platform .resolvedExecutable , [
148
148
'bin/dartdoc.dart' ,
149
149
'--output' ,
150
150
'${docsDir .path }' ,
You can’t perform that action at this time.
0 commit comments