176 writes to UseShellExecute
aspire (24)
Agents\ClaudeCode\ClaudeCodeCliRunner.cs (1)
34UseShellExecute = false,
Agents\CopilotCli\CopilotCliRunner.cs (1)
34UseShellExecute = false,
Agents\OpenCode\OpenCodeCliRunner.cs (1)
34UseShellExecute = false,
Agents\Playwright\PlaywrightCliRunner.cs (2)
31UseShellExecute = false, 96UseShellExecute = false,
Agents\VsCode\VsCodeCliRunner.cs (1)
35UseShellExecute = false,
Certificates\CertificateHelpers.cs (1)
96UseShellExecute = false,
Commands\UpdateCommand.cs (1)
498UseShellExecute = false
DotNet\DotNetCliExecutionFactory.cs (1)
46UseShellExecute = false,
DotNet\DotNetSdkInstaller.cs (1)
38UseShellExecute = false,
Git\GitRepository.cs (1)
28UseShellExecute = false,
Layout\LayoutProcessRunner.cs (1)
83process.StartInfo.UseShellExecute = false;
Npm\NpmRunner.cs (1)
237UseShellExecute = false,
OpenCode\OpenCodeCliRunner.cs (1)
27UseShellExecute = false,
Processes\DetachedProcessLauncher.Unix.cs (1)
23UseShellExecute = false,
Projects\DotNetBasedAppHostServerProject.cs (2)
480UseShellExecute = false, 555UseShellExecute = false,
Projects\PrebuiltAppHostServer.cs (1)
417UseShellExecute = false,
Projects\ProcessGuestLauncher.cs (1)
52UseShellExecute = false,
Utils\CliDownloader.cs (1)
130UseShellExecute = false
Utils\EnvironmentChecker\ContainerRuntimeCheck.cs (3)
97UseShellExecute = false, 246UseShellExecute = false, 461UseShellExecute = false,
Utils\EnvironmentChecker\DeprecatedWorkloadCheck.cs (1)
32UseShellExecute = false,
Aspire.Cli.EndToEnd.Tests (2)
KubernetesPublishTests.cs (1)
319cleanupProcess.StartInfo.UseShellExecute = false;
tests\Shared\TemporaryRepo.cs (1)
31UseShellExecute = false,
Aspire.Cli.Tests (1)
tests\Shared\TemporaryRepo.cs (1)
31UseShellExecute = false,
Aspire.Deployment.EndToEnd.Tests (28)
AcaCompactNamingDeploymentTests.cs (1)
200UseShellExecute = false
AcaCompactNamingUpgradeDeploymentTests.cs (1)
314UseShellExecute = false
AcaCustomRegistryDeploymentTests.cs (1)
270UseShellExecute = false,
AcaDeploymentErrorOutputTests.cs (1)
200UseShellExecute = false,
AcaExistingRegistryDeploymentTests.cs (1)
294UseShellExecute = false,
AcaManagedRedisDeploymentTests.cs (1)
372UseShellExecute = false,
AcaStarterDeploymentTests.cs (1)
239UseShellExecute = false,
AcrPurgeTaskDeploymentTests.cs (1)
301UseShellExecute = false,
AksStarterDeploymentTests.cs (1)
387UseShellExecute = false
AksStarterWithRedisDeploymentTests.cs (1)
415UseShellExecute = false
AppServicePythonDeploymentTests.cs (1)
224UseShellExecute = false,
AppServiceReactDeploymentTests.cs (1)
239UseShellExecute = false,
AzureAppConfigDeploymentTests.cs (1)
205UseShellExecute = false
AzureContainerRegistryDeploymentTests.cs (1)
180UseShellExecute = false
AzureEventHubsDeploymentTests.cs (1)
205UseShellExecute = false
AzureKeyVaultDeploymentTests.cs (1)
205UseShellExecute = false
AzureLogAnalyticsDeploymentTests.cs (1)
180UseShellExecute = false
AzureServiceBusDeploymentTests.cs (1)
207UseShellExecute = false
AzureStorageDeploymentTests.cs (1)
212UseShellExecute = false
PythonFastApiDeploymentTests.cs (1)
225UseShellExecute = false,
tests\Shared\TemporaryRepo.cs (1)
31UseShellExecute = false,
TypeScriptExpressDeploymentTests.cs (1)
220UseShellExecute = false,
VnetKeyVaultConnectivityDeploymentTests.cs (1)
289UseShellExecute = false,
VnetKeyVaultInfraDeploymentTests.cs (1)
220UseShellExecute = false
VnetSqlServerConnectivityDeploymentTests.cs (1)
290UseShellExecute = false,
VnetSqlServerInfraDeploymentTests.cs (1)
221UseShellExecute = false
VnetStorageBlobConnectivityDeploymentTests.cs (1)
296UseShellExecute = false,
VnetStorageBlobInfraDeploymentTests.cs (1)
222UseShellExecute = false
Aspire.EndToEnd.Tests (2)
tests\Shared\TemplatesTesting\AspireProject.cs (1)
187UseShellExecute = false,
tests\Shared\TemplatesTesting\ToolCommand.cs (1)
217UseShellExecute = false
Aspire.Hosting (1)
Dcp\Process\ProcessUtil.cs (1)
32UseShellExecute = false,
Aspire.Hosting.Azure (1)
src\Aspire.Hosting\Dcp\Process\ProcessUtil.cs (1)
32UseShellExecute = false,
Aspire.Hosting.DevTunnels (1)
DevTunnelCli.cs (1)
350UseShellExecute = useShellExecute,
Aspire.Hosting.Docker (1)
src\Aspire.Hosting\Dcp\Process\ProcessUtil.cs (1)
32UseShellExecute = false,
Aspire.Hosting.JavaScript.Tests (2)
AddJavaScriptAppTests.cs (2)
132UseShellExecute = false, 151UseShellExecute = false,
Aspire.Hosting.Maui (1)
Utilities\ProjectFileReader.cs (1)
66UseShellExecute = false,
Aspire.Hosting.Python (1)
PythonVersionDetector.cs (1)
74UseShellExecute = false,
Aspire.Hosting.Tests (2)
MSBuildTests.cs (2)
231UseShellExecute = false, 557UseShellExecute = false,
Aspire.Templates.Tests (2)
tests\Shared\TemplatesTesting\AspireProject.cs (1)
187UseShellExecute = false,
tests\Shared\TemplatesTesting\ToolCommand.cs (1)
217UseShellExecute = false
BuildValidator (1)
CompilationDiff.cs (1)
357UseShellExecute = false,
csc (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
625UseShellExecute = false,
dotnet-getdocument (1)
Exe.cs (1)
26UseShellExecute = false,
dotnet-svcutil-lib (1)
Shared\Utilities\ProcessRunner.cs (1)
71proc.StartInfo.UseShellExecute = false;
dotnet-user-jwts (1)
src\Tools\Shared\SecretsHelpers\ProjectIdResolver.cs (1)
59UseShellExecute = false,
dotnet-user-secrets (1)
src\Tools\Shared\SecretsHelpers\ProjectIdResolver.cs (1)
59UseShellExecute = false,
HelixTestRunner (1)
ProcessUtil.cs (1)
92UseShellExecute = false,
IIS.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
49UseShellExecute = false,
IIS.LongTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
49UseShellExecute = false,
IIS.NewHandler.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
49UseShellExecute = false,
IIS.ShadowCopy.Tests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
49UseShellExecute = false,
IISExpress.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
49UseShellExecute = false,
Infrastructure.Tests (4)
ExtractTestPartitions\ExtractTestPartitionsFixture.cs (1)
28UseShellExecute = false,
ExtractTestPartitions\ExtractTestPartitionsTests.cs (1)
293UseShellExecute = false,
PowerShellScripts\PowerShellCommand.cs (1)
208UseShellExecute = false
WorkflowScripts\NodeCommand.cs (1)
187UseShellExecute = false
InteropTests (2)
src\Shared\Process\ProcessEx.cs (1)
109UseShellExecute = false,
src\Shared\Process\ProcessExtensions.cs (1)
103UseShellExecute = false,
Microsoft.Agents.AI.ProjectTemplates.Tests (1)
test\ProjectTemplates\Infrastructure\TestCommand.cs (1)
38UseShellExecute = false,
Microsoft.Arcade.Common (2)
Command.cs (2)
82_process.StartInfo.UseShellExecute = false; 122_process.StartInfo.UseShellExecute = false;
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
DebugProxyLauncher.cs (1)
69UseShellExecute = false,
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
src\BlazorWebView\src\SharedSource\WebView2WebViewManager.cs (1)
383 launchBrowser.StartInfo.UseShellExecute = true;
Microsoft.AspNetCore.Components.WebView.Wpf (1)
src\BlazorWebView\src\SharedSource\WebView2WebViewManager.cs (1)
383 launchBrowser.StartInfo.UseShellExecute = true;
Microsoft.AspNetCore.Hosting.FunctionalTests (1)
ShutdownTests.cs (1)
127UseShellExecute = false
Microsoft.AspNetCore.OpenApi.Build.Tests (1)
GenerateAdditionalXmlFilesForOpenApiTests.cs (1)
25UseShellExecute = false
Microsoft.AspNetCore.Server.IntegrationTesting (7)
ApplicationPublisher.cs (1)
55UseShellExecute = false,
Deployers\NginxDeployer.cs (2)
161UseShellExecute = false, 203UseShellExecute = false,
Deployers\RemoteWindowsDeployer\RemoteWindowsDeployer.cs (1)
240UseShellExecute = false,
Deployers\SelfHostDeployer.cs (1)
125UseShellExecute = false,
src\Shared\Process\ProcessEx.cs (1)
109UseShellExecute = false,
src\Shared\Process\ProcessExtensions.cs (1)
103UseShellExecute = false,
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
IISExpressDeployer.cs (1)
182UseShellExecute = false,
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
Docker.cs (1)
204UseShellExecute = false,
Microsoft.AspNetCore.SpaProxy (1)
SpaProxyLaunchManager.cs (1)
195UseShellExecute = true,
Microsoft.AspNetCore.SpaServices.Extensions (1)
Npm\NodeScriptRunner.cs (1)
45UseShellExecute = false,
Microsoft.AspNetCore.WebSockets.ConformanceTests (1)
Autobahn\Executable.cs (1)
41UseShellExecute = false,
Microsoft.Build.Tasks.CodeAnalysis (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
625UseShellExecute = false,
Microsoft.Build.Tasks.CodeAnalysis.Sdk (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
625UseShellExecute = false,
Microsoft.CodeAnalysis.InteractiveHost (1)
Interactive\Core\InteractiveHost.LazyRemoteService.cs (1)
145UseShellExecute = false,
Microsoft.CodeAnalysis.LanguageServer (1)
DotnetCliHelper.cs (1)
78UseShellExecute = false,
Microsoft.CodeAnalysis.LanguageServer.UnitTests (1)
Utilities\AbstractLanguageServerClientTests.TestLspClient.cs (1)
127processStartInfo.UseShellExecute = false;
Microsoft.CodeAnalysis.Test.Utilities (3)
FX\ProcessUtilities.cs (3)
35UseShellExecute = false, 108UseShellExecute = false, 132startInfo.UseShellExecute = false;
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\BuildHostProcessManager.cs (1)
334processStartInfo.UseShellExecute = false;
Microsoft.DotNet.Arcade.Sdk (1)
src\InstallDotNetCore.cs (1)
161UseShellExecute = false,
Microsoft.DotNet.Arcade.Sdk.Tests (2)
Utilities\TestApp.cs (2)
59UseShellExecute = false, 82psi.UseShellExecute = false;
Microsoft.DotNet.ArcadeAzureIntegration (1)
AzureCliCredentialWithAzNoUpdateWrapper.cs (1)
76UseShellExecute = false,
Microsoft.DotNet.Build.Tasks.Feed (1)
src\common\GeneralUtils.cs (1)
270UseShellExecute = false,
Microsoft.DotNet.Internal.SymbolHelper (1)
SymbolUploadHelper.cs (1)
433UseShellExecute = false,
Microsoft.DotNet.MacOsPkg.Core (1)
ExecuteHelper.cs (1)
43UseShellExecute = false,
Microsoft.DotNet.MacOsPkg.Tests (1)
UnpackPackTests.cs (1)
220UseShellExecute = false,
Microsoft.DotNet.Open.Api.Tools.Tests (2)
ProcessEx.cs (1)
63UseShellExecute = false,
src\Shared\Process\ProcessExtensions.cs (1)
103UseShellExecute = false,
Microsoft.DotNet.RemoteExecutor (2)
RemoteExecutor.cs (1)
442psi.UseShellExecute = false;
RemoteInvokeHandle.cs (1)
133UseShellExecute = false,
Microsoft.DotNet.SetupNugetSources.Tests (1)
ScriptRunner.cs (1)
69UseShellExecute = false,
Microsoft.DotNet.SignCheckLibrary (1)
Utils.cs (1)
175UseShellExecute = false,
Microsoft.DotNet.SignTool (7)
src\BatchSignUtil.cs (1)
434UseShellExecute = false,
src\RealSignTool.cs (1)
64UseShellExecute = false,
src\SignTool.cs (2)
82UseShellExecute = false, 115UseShellExecute = false,
src\VerifySignatures.cs (1)
200UseShellExecute = false,
src\ZipData.cs (2)
297UseShellExecute = false, 877UseShellExecute = false,
Microsoft.DotNet.StrongName (2)
Signing.cs (1)
120UseShellExecute = false
Verification.cs (1)
156UseShellExecute = false,
Microsoft.Extensions.AI.Evaluation.Console (1)
Commands\ReportCommand.cs (1)
155UseShellExecute = true
Microsoft.Extensions.AI.Templates.Tests (1)
test\ProjectTemplates\Infrastructure\TestCommand.cs (1)
38UseShellExecute = false,
Microsoft.Extensions.ApiDescription.Client.Tests (2)
src\Shared\Process\ProcessEx.cs (1)
109UseShellExecute = false,
src\Shared\Process\ProcessExtensions.cs (1)
103UseShellExecute = false,
Microsoft.Extensions.Caching.StackExchangeRedis.Tests (1)
Infrastructure\RedisTestConfig.cs (1)
175UseShellExecute = false,
Microsoft.Extensions.DataIngestion.MarkItDown (1)
MarkItDownReader.cs (1)
53UseShellExecute = false,
Microsoft.Extensions.DataIngestion.Tests (1)
Readers\MarkItDownConditionAttribute.cs (1)
30UseShellExecute = false,
Microsoft.McpServer.ProjectTemplates.Tests (1)
test\ProjectTemplates\Infrastructure\TestCommand.cs (1)
38UseShellExecute = false,
Microsoft.ML.CodeGenerator (3)
Utils.cs (3)
201proc.StartInfo.UseShellExecute = false; 226proc.StartInfo.UseShellExecute = false; 247proc.StartInfo.UseShellExecute = false;
Microsoft.ML.Sweeper (1)
ConfigRunner.cs (1)
230UseShellExecute = false,
Microsoft.VisualStudio.Extensibility.Testing.Xunit (1)
src\VisualStudio\IntegrationTest\Harness\XUnitShared\Harness\VisualStudioInstanceFactory.cs (1)
421var startInfo = new ProcessStartInfo(fileName, arguments) { CreateNoWindow = silent, UseShellExecute = false };
Pipelines.AppHost (4)
AppHost.cs (4)
80UseShellExecute = false, 115UseShellExecute = false, 150UseShellExecute = false, 188UseShellExecute = false,
Pipelines.Library (1)
DistributedApplicationPipelineExtensions.cs (1)
80UseShellExecute = false,
PrepareTests (1)
TestDiscovery.cs (1)
93worker.StartInfo.UseShellExecute = false;
Replay (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
625UseShellExecute = false,
Roslyn.Test.Performance.Utilities (1)
TestUtilities.cs (1)
130startInfo.UseShellExecute = false;
RunTests (3)
ProcessRunner.cs (2)
205processStartInfo.UseShellExecute = false; 212processStartInfo.UseShellExecute = displayWindow;
TestRunner.cs (1)
225var startInfo = new ProcessStartInfo() { FileName = htmlResultsFilePath, UseShellExecute = true };
Templates.Blazor.Tests (2)
src\Shared\Process\ProcessEx.cs (1)
109UseShellExecute = false,
src\Shared\Process\ProcessExtensions.cs (1)
103UseShellExecute = false,
Templates.Blazor.WebAssembly.Auth.Tests (2)
src\Shared\Process\ProcessEx.cs (1)
109UseShellExecute = false,
src\Shared\Process\ProcessExtensions.cs (1)
103UseShellExecute = false,
Templates.Blazor.WebAssembly.Tests (2)
src\Shared\Process\ProcessEx.cs (1)
109UseShellExecute = false,
src\Shared\Process\ProcessExtensions.cs (1)
103UseShellExecute = false,
Templates.Mvc.Tests (2)
src\Shared\Process\ProcessEx.cs (1)
109UseShellExecute = false,
src\Shared\Process\ProcessExtensions.cs (1)
103UseShellExecute = false,
Templates.Tests (2)
src\Shared\Process\ProcessEx.cs (1)
109UseShellExecute = false,
src\Shared\Process\ProcessExtensions.cs (1)
103UseShellExecute = false,
vbc (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
625UseShellExecute = false,
VBCSCompiler (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
625UseShellExecute = false,
WinFormsControlsTest (1)
TaskDialogSamples.cs (1)
439UseShellExecute = true,
8 references to UseShellExecute
System.Diagnostics.Process (8)
Microsoft\Win32\SafeHandles\SafeProcessHandle.cs (2)
80/// On Windows, when <see cref="ProcessStartInfo.UseShellExecute"/> is <see langword="true"/>, 112if (!startInfo.UseShellExecute)
Microsoft\Win32\SafeHandles\SafeProcessHandle.Unix.cs (1)
112if (startInfo.UseShellExecute)
System\Diagnostics\Process.cs (1)
1186if (!startInfo.UseShellExecute)
System\Diagnostics\ProcessStartInfo.cs (4)
141/// and requires <see cref="UseShellExecute"/> to be <see langword="false"/>. 167/// and requires <see cref="UseShellExecute"/> to be <see langword="false"/>. 193/// and requires <see cref="UseShellExecute"/> to be <see langword="false"/>. 346if (UseShellExecute && (anyRedirection || anyHandle))