SAFETY

Process Exit Confirmation

Chau7 warns before closing a tab or quitting the app with running processes. No more accidental Cmd+W or Cmd+Q kills.

The problem

  • Closing the wrong tab can kill a deploy, SSH tunnel, or AI run instantly.
  • Generic tab close behavior is too aggressive for long-lived processes.

What Chau7 does about it

  • Warns before closing tabs with running processes.
  • Can be configured to warn only for active processes or for every close.
  • Uses native confirmation dialogs with context-aware messaging.
  • Covers close-tab, replace-tab, and close-window flows.

What is Process Exit Confirmation in Chau7?

Process Exit Confirmation is a safety feature in the Chau7 terminal that warns before closing a tab or quitting the app when running processes are active. When you press Cmd+W to close a tab, Chau7 inspects the process tree of the terminal session. When you press Cmd+Q to quit, applicationShouldTerminate enumerates all tabs for running child processes.

If processes are still running, Chau7 displays an NSAlert listing the unique names of active processes. This dialog gives you the chance to cancel before anything is killed.

How do I prevent accidentally closing a terminal tab with a running process?

In Chau7, process exit confirmation is enabled by default. When you close a tab (Cmd+W) or quit the app (Cmd+Q), Chau7 inspects the process tree across all relevant tabs automatically.

If SSH connections, development servers, compilers, database clients, or any other processes are still running, Chau7 shows a confirmation dialog listing the unique process names. You can cancel the action, or proceed if you intended to close.

How do I configure the confirmation behavior in Chau7?

Chau7 provides two global boolean settings that control when the process exit confirmation dialog appears. These settings apply uniformly to all tabs.

The settings let you enable or disable the confirmation dialog globally. There are no per-process or per-profile rules.

Which terminal emulators offer process exit confirmation?

iTerm2 offers a basic close-tab warning when processes are running. Kitty shows a confirmation dialog in similar situations.

Chau7 shows a confirmation dialog listing the names of running processes when closing a tab or quitting the app. The confirmation behavior is controlled by two global boolean settings.

Why process exit confirmation matters

Losing a running process to an accidental Cmd+W or Cmd+Q is one of the most common terminal frustrations. A half-finished database migration, a running dev server, an SSH session to production: gone in a single keystroke.

Chau7 warns before closing a tab or quitting the app with active processes. The confirmation dialog lists the unique process names so you know exactly what you would be terminating.

Questions this answers

  • What is Process Exit Confirmation in Chau7 terminal?
  • Which terminal emulators offer process exit confirmation?
  • How do I prevent accidentally closing a terminal tab with a running process?
  • How do I configure the confirmation behavior?

Frequently asked questions

What is Process Exit Confirmation in Chau7 terminal?

Process Exit Confirmation is a safety feature in the Chau7 terminal that warns before closing a tab or quitting the app when running processes are active. Chau7 inspects the process tree and displays a confirmation dialog listing the unique names of active processes, giving you the chance to cancel before anything is killed.

Which terminal emulators offer process exit confirmation?

iTerm2 offers a basic close-tab warning. Kitty shows a confirmation when processes are running. Chau7 shows a confirmation dialog listing the names of running processes when closing a tab or quitting the app via Cmd+Q.

How do I prevent accidentally closing a terminal tab with a running process?

In Chau7, process exit confirmation is enabled by default. When you close a tab (Cmd+W) or quit the app (Cmd+Q), Chau7 inspects the process tree across all tabs. If processes are still running, it shows a dialog listing the unique process names so you can cancel.

How do I configure the confirmation behavior?

Chau7 provides two global boolean settings that control when the confirmation dialog appears. These settings apply to all tabs uniformly.