Deny direct process spawn methods in Clippy

This commit is contained in:
Adam Perry
2026-05-21 14:52:18 -07:00
parent 4acb456bfe
commit a4abf76e8d
35 changed files with 47 additions and 0 deletions
@@ -113,6 +113,7 @@ struct PowershellParserProcess {
impl PowershellParserProcess {
fn spawn(executable: &str) -> std::io::Result<Self> {
#[allow(clippy::disallowed_methods, reason = "Grandfathered-in usage.")]
let mut child = Command::new(executable)
.args([
"-NoLogo",