Replace deprecated Runtime#exec() methods
MSALReplace Runtime#exec(String) methods to use exec(String[]) instead because the former is deprecated since Java 18 and is no longer recommended for use by the Java documentation.
org. openrewrite. staticanalysis. ReplaceDeprecatedRuntimeExecMethodsmod run . --recipe= org. openrewrite. staticanalysis. ReplaceDeprecatedRuntimeExecMethodsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.