Skip to content

Commit f582246

Browse files
authored
Use relative path for flutter. (flutter#55485)
1 parent 9f92ec2 commit f582246

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dev/devicelab/bin/tasks/flutter_gallery_v2_chrome_run_test.dart

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import 'dart:async';
66
import 'dart:convert';
77
import 'dart:io';
88

9+
import 'package:path/path.dart' as path;
10+
911
import 'package:flutter_devicelab/framework/framework.dart';
1012
import 'package:flutter_devicelab/framework/utils.dart';
1113

@@ -51,7 +53,7 @@ class NewGalleryChromeRunTest {
5153

5254
final List<String> options = <String>['-d', 'chrome', '--verbose', '--resident'];
5355
final Process process = await startProcess(
54-
'flutter',
56+
path.join(flutterDirectory.path, 'bin', 'flutter'),
5557
flutterCommandArgs('run', options),
5658
environment: <String, String>{
5759
'FLUTTER_WEB': 'true',

0 commit comments

Comments
 (0)