childProcessPath property

String? childProcessPath
latefinal

PATH environment variable for child processes launched in this workspace.

Is null if the PATH for child processes is the same as the PATH for the current process.

Implementation

late final String? childProcessPath = sdkPath == null
    ? null
    : utils.addToPathEnvVar(
        directory: p.join(sdkPath!, 'bin'),
        currentPath: currentPlatform.environment['PATH']!,
        // We prepend the path to the bin directory in the Dart/Flutter SDK
        // because we want to shadow any system wide SDK.
        prepend: true,
      );