• Jonah Williams's avatar
    [flutter_tools] reland: fold process resolution logic into the flutter tool (#67957) · bd813879
    Jonah Williams authored
    Reland of #67669
    
    The flutter tool has a number of crashes on stable where an ArgumentError is thrown due to the process manager not being able to resolve an executable.
    
    So that we can adjust/modify this logic, fold it into flutter and add some additional logging.
    caches the resolved executable per target directory, to avoid repeated look ups.
    Instead of throwing an argument error, attempts to run the executable as given if an exact path can't be found
    Accept files or symlinks for the executable path.
    user where/which to resolve path instead of package:process logic.
    bd813879
process.dart 19.7 KB