Closed agoncal closed 1 year ago
Customer use ···java Process p = Runtime.getRuntime().exec(exec); ···java to execute some worker process
I reopened it because I realized that there is a pending PR on the WindUp side: https://github.com/windup/windup-rulesets/pull/995
While it is possible to launch new worker processes in either Azure App Service or Azure Kubernetes Service environments, it is an anti-pattern to do so. Both expect to have a single process running and launching others can make it difficult to manage and debug the applications. Expecting another process or service to already be running in parallel with the service will not work in Azure App Service and is an anti-pattern in Kubernetes.
Such metadata in .NET apps can be detected by identifying usage of the
System.Diagnostics.Process
class.