Process.Exited not reached when running in Task.Run
问题 I am having a problem getting the Process.Exited event to fire when I run the process using a Task.Run in a WPF app. If this getting this Exited event is out of the questions due to the process class limitation, I would like to to update the TextBox.Text when the task is complete. I tried ContinueWith without any luck either async private void Select_Click(object sender, RoutedEventArgs e) { CancellationToken ct = new CancellationToken(); CancellationTokenSource cts = new