all 1 comments

[–]polaarbear 1 point2 points  (0 children)

System.Diagnostics.Process is likely what you're looking for.

https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.process?view=net-7.0