Skip to main content

What it flags

Process.Start launches an external process. The rule reviews qualified and unqualified calls when the checker cannot verify direct execution with fixed arguments. A local, non-generic Process class can suppress an unqualified call within the same lexical namespace. An inline ProcessStartInfo stays quiet when its sole constructor argument is a non-shell executable name or path written as a regular string literal using only ASCII letters, digits, and _./:-. Its initializer must contain exactly UseShellExecute = false and an ArgumentList of string literals.

How to review or fix

Validate inputs and use ProcessStartInfo with ArgumentList.

Configuration

Set the rule to "off" in loadwise.config.json to drop its findings: