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