Specifies the mode for handling process cancellation.
[DefaultValue(ProcessExitBehaviour.GracefulExit)]
public enum ProcessExitBehaviour
kind:method, kind:property, kind:ctor. Press Esc to clear.ForcefulExitForcefully terminates the Process upon request along with all child processes.GracefulExitGracefully cancels the Process upon request by sending it the platform's interrupt signal (SIGTERM/SIGINT on Unix-like systems, a console control event on Windows), falling back to forceful termination if the process does not exit.WaitForExitThe Process will run until it initiates exit.