anchor.diff:    if (label != '') label = '-$label';
     testPackagePath ??= testPackage.absolute.path;
     var launcher = SubprocessLauncher('build-test-package-docs$label');
  -  var testPackagePubGet = launcher.runStreamed(sdkBin('dart'), ['pub', 'get'],
  +  var testPackagePubGet = launcher.runStreamed(
  +      Platform.resolvedExecutable, ['pub', 'get'],
         workingDirectory: testPackagePath);
  -  var dartdocPubGet = launcher.runStreamed(sdkBin('dart'), ['pub', 'get'],
  +  var dartdocPubGet = launcher.runStreamed(
  +      Platform.resolvedExecutable, ['pub', 'get'],
         workingDirectory: cwd);
     await Future.wait([testPackagePubGet, dartdocPubGet]);
     return await launcher.runStreamed(
  
positive.code:   var flutterRepo = await FlutterRepo.copyFromExistingFlutterRepo(
        await cleanFlutterRepo, flutterPath, env, label);
    await flutterRepo.launcher.runStreamed(
      flutterRepo.cachePub,
      ['get'],
      workingDirectory: path.join(flutterPath, 'dev', 'tools'),
    );
    await flutterRepo.launcher.runStreamed(
      flutterRepo.cachePub,
      ['global', 'activate', 'snippets'],
    );
    // TODO(jcollins-g): flutter's dart SDK pub tries to precompile the universe
    // when using -spath.  Why?
    await flutterRepo.launcher.runStreamed(flutterRepo.cachePub,
        ['global', 'activate', '-spath', '.', '-x', 'dartdoc'],
        workingDirectory: await futureCwd);
    return await flutterRepo.launcher.runStreamed(
      flutterRepo.cacheDart,
  
negative.code: Future<void> serveLanguageTestDocs() async {
    log('launching dhttpd on port 8004 for language tests');
    var launcher = SubprocessLauncher('serve-language-test-docs');
    await launcher.runStreamed(Platform.resolvedExecutable, ['pub', 'get']);
    await launcher.runStreamed(Platform.resolvedExecutable, [
      'pub',
      'global',
      'run',
  