You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Start adopting the new Environment type throughout the codebase
Mostly starting at the "edges", in tests and in some central APIs. Does nothing for Unix-like platforms, but will fix some case sensitivity issues on Windows when accessing specific environment variables.
Closes#296
@@ -59,7 +59,7 @@ public struct SWBOptionalFeatureFlagProperty {
59
59
/// Returns nil if neither environment variable nor User Default are set. An implementation can then pick a default behavior.
60
60
/// If both the environment variable and User Default are set, the two values are logically AND'd together; this allows the set false value of either to force the feature flag off.
tryawaitProcess.getOutput(url: url, arguments:Array(commandLine.dropFirst()), currentDirectoryURL: workingDirectory.map(URL.init(fileURLWithPath:)), environment:ProcessInfo.processInfo.cleanEnvironment.merging(environment, uniquingKeysWith:{ _, new in new }))
/// This method will use the current value of `DEVELOPER_DIR` in the environment by default, or the value of `overrideDeveloperDirectory` if specified.
// FIXME: Move this fully to Swift Concurrency and execute the process via llbuild after PbxCp is fully converted to Swift
82
82
/// Spawns a process and waits for it to finish, closing stdin and redirecting stdout and stderr to fdout. Failure to launch, non-zero exit code, or exit with a signal will throw an error.
0 commit comments