childProcessPath property
EnvironmentVariableKey.path
environment variable for child processes
launched in this workspace.
Is null
if the EnvironmentVariableKey.path
for child processes is the
same as the EnvironmentVariableKey.path
for the current process.
Implementation
late final String? childProcessPath = sdkPath == null
? null
: utils.addToPathEnvVar(
directory: p.join(sdkPath!, 'bin'),
currentPath:
currentPlatform.environment[EnvironmentVariableKey.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,
);