Why do we need WaitForExit() when working with processes?

This page summarizes the projects mentioned and recommended in the original post on /r/dotnet

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • ASP.NET Core

    ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.

  • This might be a dumb question but I can't seem to get my head around it. I am starting a process from a ASP.NET Core controller and it works fine. I can also close the application from the same controller with no issues. What is the benefit of WaitForExit()? Do I not need WaitForExit() if I am closing the process programmatically when the controller endpoint is hit? (yes I am aware I would use WaitForExitAsync() since its asp dot net )

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts