Is there any async equivalent of Process.Start?
问题 Like the title suggests, is there an equivalent to Process.Start (allows you run another application or batch file) that I can await? I\'m playing with a small console app and this seemed like the perfect place to be using async and await but I can\'t find any documentation for this scenario. What I\'m thinking is something along these lines: void async RunCommand() { var result = await Process.RunAsync(\"command to run\"); } 回答1: Process.Start() only starts the process, it doesn't wait until