Use relative path for flutter. (#55485)
This commit is contained in:
@@ -6,6 +6,8 @@ import 'dart:async';
|
||||
import 'dart:convert';
|
||||
import 'dart:io';
|
||||
|
||||
import 'package:path/path.dart' as path;
|
||||
|
||||
import 'package:flutter_devicelab/framework/framework.dart';
|
||||
import 'package:flutter_devicelab/framework/utils.dart';
|
||||
|
||||
@@ -51,7 +53,7 @@ class NewGalleryChromeRunTest {
|
||||
|
||||
final List<String> options = <String>['-d', 'chrome', '--verbose', '--resident'];
|
||||
final Process process = await startProcess(
|
||||
'flutter',
|
||||
path.join(flutterDirectory.path, 'bin', 'flutter'),
|
||||
flutterCommandArgs('run', options),
|
||||
environment: <String, String>{
|
||||
'FLUTTER_WEB': 'true',
|
||||
|
||||
Reference in New Issue
Block a user