Gets the ProcessExitBehaviour value that determines the behaviour when a cancellation request is issued for the process.
public ProcessExitBehaviour RequestedCancellationExitBehaviour { get; }
Options include waiting for the process to exit, attempting a graceful exit, or forcing termination. The default behaviour is GracefulExit. Note that a GracefulExit interrupt is best-effort on Windows — a console-host caller typically cannot attach to the child's console, so no signal is delivered and the child is force-terminated; on Unix, SIGTERM is delivered and the exit is genuinely graceful.