-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Closed
Copy link
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listdependency: dartDart team may need to help usDart team may need to help uspackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.toolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
Description
This is discovered in the plugin repro: https://cirrus-ci.com/task/6082379875876864 and it is currently blocking the flutter/plugins tree
I have created a reduced test case to reproduce issue locally, which can be found here: https://github.com/cyanglaz/second_process_return_one
This package has a main.dart which executes 2 commands using io.Process.start: flutter --version and ls -l sequentially.
steps to reproduce:
- Download the package in above repo, activate the package using
pub global activate -s path path_to/second_process_return_one - Make sure to outdate the current flutter installation. One simple way is to switch flutter branch between master and stable.
- Execute
pub global run second_process_return_oneat any directory. - You will see the log:
Downloading Dart SDK from Flutter engine 5d3477eab415fbcc3d58624b07f0a768f8208f98...
Building flutter tool...
Running command: "ls -l"
1
ls -l second time failed
Note
This doesn't fail if ran directly with dart like:
dart path_to/second_process_return_one/lib/main.dart
This seems only happening on MacOS.
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listdependency: dartDart team may need to help usDart team may need to help uspackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.toolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.