Today in OperationDelegate.taskStarted, there is some complex logic to determine whether environment is shown:
let environmentToShow = (task.showEnvironment && !operation.request.hideShellScriptEnvironment) ? task.environment : nil
This sort of presentation-level logic doesn't seem like it belongs here. It also doesn't incorporate the operation.environment base environment given to the llbuild BuildSystem, so what's printed isn't entirely representative of what the subprocess sees.
This should be made better...
Today in OperationDelegate.taskStarted, there is some complex logic to determine whether environment is shown:
This sort of presentation-level logic doesn't seem like it belongs here. It also doesn't incorporate the
operation.environmentbase environment given to the llbuild BuildSystem, so what's printed isn't entirely representative of what the subprocess sees.This should be made better...