---
title: exit
framework: dispatch
role: symbol
role_heading: Type Property
path: dispatch/dispatchsource/processevent/exit
---

# exit

The process has exited (perhaps cleanly, perhaps not).

## Declaration

```swift
static let exit: DispatchSource.ProcessEvent
```

## See Also

### Process Event Flags

- [all](dispatch/dispatchsource/processevent/all.md)
- [exec](dispatch/dispatchsource/processevent/exec.md)
- [fork](dispatch/dispatchsource/processevent/fork.md)
- [signal](dispatch/dispatchsource/processevent/signal.md)
