[flutter_tools] exec rather than spawn subprocess from bin/internal/shared.sh (#99871)
This commit is contained in:
committed by
GitHub
parent
b33249c344
commit
bb4a5fa7ab
@@ -222,10 +222,10 @@ function shared::execute() {
|
||||
flutter*)
|
||||
# FLUTTER_TOOL_ARGS aren't quoted below, because it is meant to be
|
||||
# considered as separate space-separated args.
|
||||
"$DART" --disable-dart-dev --packages="$FLUTTER_TOOLS_DIR/.packages" $FLUTTER_TOOL_ARGS "$SNAPSHOT_PATH" "$@"
|
||||
exec "$DART" --disable-dart-dev --packages="$FLUTTER_TOOLS_DIR/.packages" $FLUTTER_TOOL_ARGS "$SNAPSHOT_PATH" "$@"
|
||||
;;
|
||||
dart*)
|
||||
"$DART" "$@"
|
||||
exec "$DART" "$@"
|
||||
;;
|
||||
*)
|
||||
>&2 echo "Error! Executable name $BIN_NAME not recognized!"
|
||||
|
||||
Reference in New Issue
Block a user