25 writes to StartInfo
dotnet-user-jwts (1)
src\Tools\Shared\SecretsHelpers\ProjectIdResolver.cs (1)
80StartInfo = psi,
dotnet-user-secrets (1)
src\Tools\Shared\SecretsHelpers\ProjectIdResolver.cs (1)
80StartInfo = psi,
HelixTestRunner (1)
ProcessUtil.cs (1)
86StartInfo =
InteropTests (2)
Helpers\ClientProcess.cs (1)
24_process.StartInfo = new ProcessStartInfo
Helpers\WebsiteProcess.cs (1)
29_process.StartInfo = new ProcessStartInfo
Microsoft.Arcade.Common (1)
Command.cs (1)
45StartInfo = psi
Microsoft.AspNetCore.Components.WebViewE2E.Test (1)
WebViewManagerE2ETests.cs (1)
30StartInfo = new ProcessStartInfo
Microsoft.AspNetCore.Server.IntegrationTesting (6)
ApplicationPublisher.cs (1)
64var hostProcess = new Process() { StartInfo = startInfo };
Deployers\NginxDeployer.cs (3)
116StartInfo = 169using (var runNginx = new Process() { StartInfo = startInfo }) 211using (var runNginx = new Process() { StartInfo = startInfo })
Deployers\RemoteWindowsDeployer\RemoteWindowsDeployer.cs (1)
247using (var runScriptsOnRemoteServerProcess = new Process() { StartInfo = startInfo })
Deployers\SelfHostDeployer.cs (1)
145HostProcess = new Process() { StartInfo = startInfo };
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
IISExpressDeployer.cs (1)
193var process = new Process() { StartInfo = startInfo };
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
Docker.cs (1)
199StartInfo = new ProcessStartInfo
Microsoft.AspNetCore.WebSockets.ConformanceTests (1)
Autobahn\Executable.cs (1)
37StartInfo = new ProcessStartInfo()
Microsoft.Build.CommandLine.UnitTests (2)
XMake_Tests.cs (2)
549StartInfo = 593StartInfo =
Microsoft.Build.UnitTests.Shared (1)
RunnerUtilities.cs (1)
120using (var p = new Process { EnableRaisingEvents = true, StartInfo = psi })
Microsoft.Build.Utilities.Core (1)
ToolTask.cs (1)
746proc.StartInfo = GetProcessStartInfo(pathToTool, commandLineCommands, responseFileSwitch);
Microsoft.DotNet.Arcade.Sdk.Tests (1)
Utilities\TestApp.cs (1)
89StartInfo = psi,
Microsoft.DotNet.Build.Tasks.Feed (1)
src\common\GeneralUtils.cs (1)
279StartInfo = info,
Microsoft.DotNet.RemoteExecutor (1)
RemoteExecutor.cs (1)
470return new RemoteInvokeHandle(options.Start ? Process.Start(psi) : new Process() { StartInfo = psi },
System.Diagnostics.Process (1)
System\Diagnostics\Process.cs (1)
1349process.StartInfo = startInfo;
System.Net.Ping (1)
System\Net\NetworkInformation\Ping.PingUtility.cs (1)
48return new Process() { StartInfo = psi };
58 references to StartInfo
HelixTestRunner (6)
ProcessUtil.cs (6)
100process.StartInfo.WorkingDirectory = workingDirectory; 107process.StartInfo.EnvironmentVariables["COMPlus_DbgEnableMiniDump"] = "1"; 108process.StartInfo.EnvironmentVariables["COMPlus_DbgMiniDumpName"] = Path.Combine(dumpDirectoryPath, $"{Path.GetFileName(filename)}.%d.dmp"); 115process.StartInfo.Environment.Add(kvp); 155PrintMessage($"'{process.StartInfo.FileName} {process.StartInfo.Arguments}' completed with exit code '{process.ExitCode}'");
Interop.FunctionalTests (6)
H2SpecCommands.cs (6)
220process.StartInfo.FileName = GetToolLocation(); 221process.StartInfo.RedirectStandardOutput = true; 222process.StartInfo.RedirectStandardError = true; 223process.StartInfo.Arguments = $"{testId} -p {port.ToString(CultureInfo.InvariantCulture)} --strict -v -j {tempFile} --timeout {TimeoutSeconds}" 225process.StartInfo.WindowStyle = ProcessWindowStyle.Hidden; 226process.StartInfo.CreateNoWindow = true;
InteropTests (1)
src\Shared\Process\ProcessEx.cs (1)
60var timeoutExMessage = $"Process proc {proc.ProcessName} {proc.StartInfo.Arguments} timed out after {timeout}.";
Microsoft.Arcade.Common (20)
Command.cs (20)
60if (_process.StartInfo.RedirectStandardOutput) 68if (_process.StartInfo.RedirectStandardError) 78if (_process.StartInfo.RedirectStandardOutput || 79_process.StartInfo.RedirectStandardInput || 80_process.StartInfo.RedirectStandardError) 82_process.StartInfo.UseShellExecute = false; 90if (_process.StartInfo.RedirectStandardOutput) 95if (_process.StartInfo.RedirectStandardError) 107_process.StartInfo, 115_process.StartInfo.WorkingDirectory = projectDirectory; 124_process.StartInfo.Environment[name] = value; 126_process.StartInfo.UseShellExecute = false; 147_process.StartInfo.RedirectStandardOutput = true; 155_process.StartInfo.RedirectStandardError = true; 163_process.StartInfo.RedirectStandardOutput = true; 178_process.StartInfo.RedirectStandardError = true; 193_process.StartInfo.RedirectStandardOutput = true; 205_process.StartInfo.RedirectStandardError = true; 232_statusForward($"[EXEC Begin] {FormatProcessInfo(_process.StartInfo, includeWorkingDirectory: false)}"); 242var message = $"{FormatProcessInfo(_process.StartInfo, includeWorkingDirectory: !success)} exited with {exitCode}";
Microsoft.AspNetCore.Server.IntegrationTesting (1)
src\Shared\Process\ProcessEx.cs (1)
60var timeoutExMessage = $"Process proc {proc.ProcessName} {proc.StartInfo.Arguments} timed out after {timeout}.";
Microsoft.DotNet.Arcade.Sdk.Tests (2)
Utilities\TestApp.cs (2)
94output.WriteLine($"Starting: {process.StartInfo.FileName} {process.StartInfo.Arguments}");
Microsoft.Extensions.ApiDescription.Client.Tests (1)
src\Shared\Process\ProcessEx.cs (1)
60var timeoutExMessage = $"Process proc {proc.ProcessName} {proc.StartInfo.Arguments} timed out after {timeout}.";
PresentationUI (4)
InstallationError.xaml.cs (2)
220Notepad.StartInfo.FileName = "Notepad.exe"; 221Notepad.StartInfo.Arguments = LogFilePath;
TenFeetInstallationError.xaml.cs (2)
223Notepad.StartInfo.FileName = "Notepad.exe"; 224Notepad.StartInfo.Arguments = LogFilePath;
System.Diagnostics.Process (2)
System\Diagnostics\Process.cs (2)
1230/// Starts a process specified by the <see cref='System.Diagnostics.Process.StartInfo'/> property of this <see cref='System.Diagnostics.Process'/> 1244ProcessStartInfo startInfo = StartInfo;
Templates.Blazor.Tests (3)
src\ProjectTemplates\Shared\ProcessResult.cs (2)
12Process = process.Process.StartInfo.FileName + " " + process.Process.StartInfo.Arguments;
src\Shared\Process\ProcessEx.cs (1)
60var timeoutExMessage = $"Process proc {proc.ProcessName} {proc.StartInfo.Arguments} timed out after {timeout}.";
Templates.Blazor.WebAssembly.Auth.Tests (3)
src\ProjectTemplates\Shared\ProcessResult.cs (2)
12Process = process.Process.StartInfo.FileName + " " + process.Process.StartInfo.Arguments;
src\Shared\Process\ProcessEx.cs (1)
60var timeoutExMessage = $"Process proc {proc.ProcessName} {proc.StartInfo.Arguments} timed out after {timeout}.";
Templates.Blazor.WebAssembly.Tests (3)
src\ProjectTemplates\Shared\ProcessResult.cs (2)
12Process = process.Process.StartInfo.FileName + " " + process.Process.StartInfo.Arguments;
src\Shared\Process\ProcessEx.cs (1)
60var timeoutExMessage = $"Process proc {proc.ProcessName} {proc.StartInfo.Arguments} timed out after {timeout}.";
Templates.Mvc.Tests (3)
src\ProjectTemplates\Shared\ProcessResult.cs (2)
12Process = process.Process.StartInfo.FileName + " " + process.Process.StartInfo.Arguments;
src\Shared\Process\ProcessEx.cs (1)
60var timeoutExMessage = $"Process proc {proc.ProcessName} {proc.StartInfo.Arguments} timed out after {timeout}.";
Templates.Tests (3)
src\ProjectTemplates\Shared\ProcessResult.cs (2)
12Process = process.Process.StartInfo.FileName + " " + process.Process.StartInfo.Arguments;
src\Shared\Process\ProcessEx.cs (1)
60var timeoutExMessage = $"Process proc {proc.ProcessName} {proc.StartInfo.Arguments} timed out after {timeout}.";