54 writes to RedirectStandardInput
AnalyzeCiFailure.Tests (2)
AnalyzeCiFailureWorkflowTests.cs (1)
5288process.StartInfo.RedirectStandardInput = standardInput is not null;
tests\Infrastructure.Tests\ExecutableFile.cs (1)
37RedirectStandardInput = true,
aspire (3)
Git\GitCommandRunner.cs (1)
72RedirectStandardInput = mode == GitCommandMode.Captured || unattended,
Projects\DotNetBasedAppHostServerProject.cs (1)
628startInfo.RedirectStandardInput = true;
Projects\PrebuiltAppHostServer.cs (1)
955startInfo.RedirectStandardInput = true;
aspire-tray (1)
src\Aspire.Tray\Common\CliProcess.cs (1)
23RedirectStandardInput = true,
Aspire.Acquisition.Tests (2)
Scripts\Common\FileHelper.cs (1)
35RedirectStandardInput = true,
tests\Shared\TemplatesTesting\ToolCommand.cs (1)
216RedirectStandardInput = true,
Aspire.Cli.EndToEnd.Tests (1)
Helpers\GitHttpServer.cs (1)
46RedirectStandardInput = true,
Aspire.Cli.Tests (8)
Agents\TelemetryHookScriptTests.cs (1)
649RedirectStandardInput = true,
Commands\AppHostLauncherTests.cs (2)
626RedirectStandardInput = true, 636RedirectStandardInput = true,
DotNet\ProcessExecutionTests.cs (2)
331RedirectStandardInput = true, 343RedirectStandardInput = true,
Git\GitCommandRunnerTests.Authentication.cs (3)
241probe.RedirectStandardInput = true; 255probe.RedirectStandardInput = true; 264probe.RedirectStandardInput = true;
Aspire.EndToEnd.Tests (2)
tests\Shared\TemplatesTesting\AspireProject.cs (1)
186RedirectStandardInput = true,
tests\Shared\TemplatesTesting\ToolCommand.cs (1)
216RedirectStandardInput = true,
Aspire.Hosting (2)
Dcp\Process\ProcessUtil.Capture.cs (1)
28RedirectStandardInput = true,
Dcp\Process\ProcessUtil.cs (1)
49RedirectStandardInput = processSpec.StandardInputContent != null,
Aspire.Hosting.Azure (1)
src\Aspire.Hosting\Dcp\Process\ProcessUtil.cs (1)
49RedirectStandardInput = processSpec.StandardInputContent != null,
Aspire.Hosting.CodeGeneration.Go (1)
AtsGoCodeGenerator.cs (1)
301RedirectStandardInput = true,
Aspire.Hosting.CodeGeneration.Python.Tests (1)
AtsPythonCodeGeneratorTests.cs (1)
774RedirectStandardInput = true,
Aspire.Hosting.DevTunnels (1)
DevTunnelCli.cs (1)
366RedirectStandardInput = false,
Aspire.Hosting.Docker (1)
src\Aspire.Hosting\Dcp\Process\ProcessUtil.cs (1)
49RedirectStandardInput = processSpec.StandardInputContent != null,
Aspire.Hosting.Kubernetes (1)
src\Aspire.Hosting\Dcp\Process\ProcessUtil.cs (1)
49RedirectStandardInput = processSpec.StandardInputContent != null,
Aspire.Hosting.Radius (1)
Publishing\SealedSecretApplyStep.cs (1)
767RedirectStandardInput = standardInput is not null,
Aspire.Hosting.RemoteHost (1)
src\Shared\ChildProcess.cs (1)
152startInfo.RedirectStandardInput = true;
Aspire.Hosting.RemoteHost.Tests (1)
CapabilityDispatcherTests.cs (1)
88RedirectStandardInput = true,
Aspire.Templates.Tests (2)
tests\Shared\TemplatesTesting\AspireProject.cs (1)
186RedirectStandardInput = true,
tests\Shared\TemplatesTesting\ToolCommand.cs (1)
216RedirectStandardInput = true,
Aspire.Tray.Tests (1)
src\Aspire.Tray\Common\CliProcess.cs (1)
23RedirectStandardInput = true,
csc (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
660RedirectStandardInput = true,
Infrastructure.Tests (3)
ExecutableFile.cs (1)
37RedirectStandardInput = true,
PowerShellScripts\PowerShellCommand.cs (1)
208RedirectStandardInput = true,
WorkflowScripts\NodeCommand.cs (1)
187RedirectStandardInput = true,
Microsoft.AspNetCore.Server.IntegrationTesting (4)
Deployers\NginxDeployer.cs (2)
166RedirectStandardInput = true 208RedirectStandardInput = true
Deployers\RemoteWindowsDeployer\RemoteWindowsDeployer.cs (1)
244RedirectStandardInput = true
Deployers\SelfHostDeployer.cs (1)
130RedirectStandardInput = true,
Microsoft.AspNetCore.SpaServices.Extensions (1)
Npm\NodeScriptRunner.cs (1)
46RedirectStandardInput = true,
Microsoft.Build (1)
BackEnd\Components\Communications\NodeLauncher.cs (1)
127RedirectStandardInput = redirectStreams,
Microsoft.Build.Tasks.CodeAnalysis (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
660RedirectStandardInput = true,
Microsoft.Build.Utilities.Core (1)
ToolTask.cs (1)
674startInfo.RedirectStandardInput = true;
Microsoft.CodeAnalysis.BuildClient.Package (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
660RedirectStandardInput = true,
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\BuildHostProcessManager.cs (1)
365processStartInfo.RedirectStandardInput = true;
Microsoft.NET.Build.Containers (1)
LocalDaemons\DockerCli.cs (1)
107RedirectStandardInput = true,
NativeIntegrations.DockerCompose (1)
DockerCommand.cs (1)
25RedirectStandardInput = true, RedirectStandardOutput = true, RedirectStandardError = true
NuGet.Build.Tasks (1)
StaticGraphRestoreTaskBase.cs (1)
128RedirectStandardInput = true,
NuGet.Protocol (2)
Plugins\PluginFactory.cs (2)
189RedirectStandardInput = true, 203RedirectStandardInput = true,
vbc (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
660RedirectStandardInput = true,
VBCSCompiler (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
660RedirectStandardInput = true,
25 references to RedirectStandardInput
aspire (1)
Git\GitCommandRunner.cs (1)
371if (startInfo.RedirectStandardInput)
Aspire.Cli.Tests (10)
Configuration\ConfigSourceServiceGitTests.cs (4)
301Assert.True(startInfo.RedirectStandardInput); 323Assert.Equal(!expectedInteractive, startInfo.RedirectStandardInput); 346Assert.Equal(!interactive, startInfo.RedirectStandardInput); 365Assert.False(startInfo.RedirectStandardInput);
DotNet\ProcessExecutionTests.cs (1)
208Assert.False(startInfo.RedirectStandardInput);
Git\GitCommandRunnerTests.Authentication.cs (1)
37Assert.Equal(disabled || mode == nameof(GitCommandMode.Captured), info.RedirectStandardInput);
Git\GitCommandRunnerTests.cs (3)
40Assert.True(startInfo.RedirectStandardInput); 306Assert.False(startInfo.RedirectStandardInput); 420Assert.True(startInfo.RedirectStandardInput);
Npm\NpmRunnerTests.cs (1)
39Assert.False(startInfo.RedirectStandardInput);
Aspire.Tray.Tests (4)
CliAppHostCommandsTests.cs (2)
38Assert.True(startInfo.RedirectStandardInput); 223Assert.True(info.RedirectStandardInput);
WindowsTrayLaunchCommandTests.cs (1)
24Assert.False(start.RedirectStandardInput);
WindowsTrayStartupSettingsTests.cs (1)
256Assert.True(start.RedirectStandardInput);
Microsoft.Arcade.Common (1)
Command.cs (1)
79_process.StartInfo.RedirectStandardInput ||
System.Diagnostics.Process (9)
System\Diagnostics\Process.cs (2)
1356else if (startInfo.RedirectStandardInput) 1431if (startInfo.RedirectStandardInput)
System\Diagnostics\Process.Scenarios.cs (1)
23/// <para>One or more of <see cref="ProcessStartInfo.RedirectStandardInput"/>,
System\Diagnostics\ProcessStartInfo.cs (6)
130/// <see cref="RedirectStandardInput"/>, <see cref="RedirectStandardOutput"/>, <see cref="RedirectStandardError"/>, 173/// When set, the handle is passed directly to the child process and <see cref="RedirectStandardInput"/> must be <see langword="false"/>. 190/// This property cannot be used together with <see cref="RedirectStandardInput"/> 437if (StandardInputEncoding != null && !RedirectStandardInput) 479anyRedirection = RedirectStandardInput || RedirectStandardOutput || RedirectStandardError; 564if (StandardInputHandle is not null && RedirectStandardInput)