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

# exec

The process became another executable image.

## Declaration

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

## Discussion

Discussion The process has become another executable image via an exec or posix_spawn function family call.

## See Also

### Process Event Flags

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