2using System.Collections.Generic;
5using System.Threading.Tasks;
6using Nuke.Common.Tooling;
7using Nuke.Common.Utilities;
8using Nuke.Common.Utilities.Collections;
20 public IReadOnlyCollection<Output> Execute(
21 ArgumentStringHandler arguments =
default,
22 string? workingDirectory =
null,
23 IReadOnlyDictionary<string, string>? environmentVariables =
null,
25 bool? logOutput =
null,
26 bool? logInvocation =
null,
27 Action<OutputType, string>? logger =
null,
28 Action<IProcess>? exitHandler =
null
29 ) => Target.ExecuteWith(
31 arguments.ToStringAndClear(),