1 instantiation of ProcessEx
Templates.Tests (1)
src\Shared\Process\ProcessEx.cs (1)
132
return new
ProcessEx
(output, proc, timeout ?? DefaultProcessTimeout);
27 references to ProcessEx
Templates.Tests (27)
src\ProjectTemplates\Shared\AspNetProcess.cs (2)
29
internal
ProcessEx
Process { get; }
91
Process =
ProcessEx
.Run(output, workingDirectory, process, arguments, envVars: finalEnvironmentVariables);
src\ProjectTemplates\Shared\ErrorMessages.cs (1)
16
public static string GetFailedProcessMessageOrEmpty(string step, Project project,
ProcessEx
process)
src\ProjectTemplates\Shared\ProcessResult.cs (1)
10
public ProcessResult(
ProcessEx
process)
src\ProjectTemplates\Shared\Project.cs (15)
122
using
var
createExecution =
ProcessEx
.Run(Output, AppContext.BaseDirectory, DotNetMuxer.MuxerPathOrDefault(), argString, environmentVariables);
131
using
var
restoreExecution =
ProcessEx
.Run(Output, TemplateOutputDir, DotNetMuxer.MuxerPathOrDefault(), argString, environmentVariables);
157
using
var
execution =
ProcessEx
.Run(Output, TemplateOutputDir, DotNetMuxer.MuxerPathOrDefault(), $"publish {restoreArgs} -c Release /bl {additionalArgs}", packageOptions);
180
using
var
execution =
ProcessEx
.Run(Output, TemplateOutputDir, DotNetMuxer.MuxerPathOrDefault(), $"build --no-restore -c Debug /bl {additionalArgs}", packageOptions);
241
using
var
result =
ProcessEx
.Run(Output, TemplateOutputDir, command, args);
261
using
var
result =
ProcessEx
.Run(Output, TemplateOutputDir, command, args);
416
var
result =
ProcessEx
.Run(
523
private void CaptureBinLogOnFailure(
ProcessEx
result)
src\ProjectTemplates\Shared\TemplatePackageInstaller.cs (6)
62
public static async Task<
ProcessEx
> RunDotNetNew(ITestOutputHelper output, string arguments)
64
var
proc =
ProcessEx
.Run(
110
var
result = await RunDotNetNew(output, $"install \"{packagePath}\"");
121
var
proc = await RunDotNetNew(output, $"--list");
136
var
proc = await RunDotNetNew(output, $"\"{templateName}\"");
src\Shared\Process\ProcessEx.cs (2)
103
public static
ProcessEx
Run(ITestOutputHelper output, string workingDirectory, string command, string args = null, IDictionary<string, string> envVars = null, TimeSpan? timeout = default)
229
? typeof(
ProcessEx
).Assembly