|
| | ToolExExecutor (string toolPath) |
| |
| IReadOnlyCollection< Output >? | Execute (ArgumentStringHandler arguments=default, string? workingDirectory=null, IReadOnlyDictionary< string, string >? environmentVariables=null, int? timeout=null, bool? logOutput=null, bool? logInvocation=null, Action< OutputType, string >? logger=null, Action< IProcess >? exitHandler=null, Action< StreamWriter >? input=null, Encoding? standardOutputEncoding=null, Encoding? standardInputEncoding=null) |
| |
|
| static ? string | GetToolPathOverride (string toolPath) |
| |
| static BlockingCollection< Output > | GetOutputCollection (Process process, Action< OutputType, string >? logger, Func< string, string > outputFilter) |
| |
| static void | LogInvocation (ProcessStartInfo startInfo, Func< string, string > outputFilter) |
| |
|
| static readonly char[] | s_pathSeparators = { EnvironmentInfo.IsWin ? ';' : ':' } |
| |
| static readonly object | s_lock = new() |
| |
Definition at line 160 of file ToolEx.cs.
◆ ToolExExecutor()
| Nuke.Cola.Tooling.ToolExExecutor.ToolExExecutor |
( |
string | toolPath | ) |
|
◆ Execute()
| IReadOnlyCollection< Output >? Nuke.Cola.Tooling.ToolExExecutor.Execute |
( |
ArgumentStringHandler | arguments = default, |
|
|
string? | workingDirectory = null, |
|
|
IReadOnlyDictionary< string, string >? | environmentVariables = null, |
|
|
int? | timeout = null, |
|
|
bool? | logOutput = null, |
|
|
bool? | logInvocation = null, |
|
|
Action< OutputType, string >? | logger = null, |
|
|
Action< IProcess >? | exitHandler = null, |
|
|
Action< StreamWriter >? | input = null, |
|
|
Encoding? | standardOutputEncoding = null, |
|
|
Encoding? | standardInputEncoding = null ) |
◆ GetOutputCollection()
| static BlockingCollection< Output > Nuke.Cola.Tooling.ToolExExecutor.GetOutputCollection |
( |
Process | process, |
|
|
Action< OutputType, string >? | logger, |
|
|
Func< string, string > | outputFilter ) |
|
staticprivate |
◆ GetToolPathOverride()
| static ? string Nuke.Cola.Tooling.ToolExExecutor.GetToolPathOverride |
( |
string | toolPath | ) |
|
|
staticprivate |
◆ LogInvocation()
| static void Nuke.Cola.Tooling.ToolExExecutor.LogInvocation |
( |
ProcessStartInfo | startInfo, |
|
|
Func< string, string > | outputFilter ) |
|
staticprivate |
◆ _toolPath
| readonly string Nuke.Cola.Tooling.ToolExExecutor._toolPath |
|
private |
◆ s_lock
| readonly object Nuke.Cola.Tooling.ToolExExecutor.s_lock = new() |
|
staticprivate |
◆ s_pathSeparators
| readonly char [] Nuke.Cola.Tooling.ToolExExecutor.s_pathSeparators = { EnvironmentInfo.IsWin ? ';' : ':' } |
|
staticprivate |
The documentation for this class was generated from the following file:
- /home/runner/work/md.Nuke.Cola/md.Nuke.Cola/md.Nuke.Cola/Tooling/ToolEx.cs