← All recipes
Moderne licensed

Find Process.Start with string argument

Recipe IDOpenRewrite.Recipes.CSharp.CodeQuality.Style.FindUseProcessStartWithStartInfoArtifactOpenRewrite.Recipes.CSharp.CodeQuality

Detect Process.Start("filename") which should use the ProcessStartInfo overload for explicit control over UseShellExecute and other settings.

Single recipecsharpstylecode-qualityProprietary

Usage

This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.

mod run . --recipe OpenRewrite.Recipes.CSharp.CodeQuality.Style.FindUseProcessStartWithStartInfo

If the recipe isn’t available locally, install it with:

mod config recipes nuget install OpenRewrite.Recipes.CSharp.CodeQuality