---
title: es_event_exec_t
framework: endpointsecurity
role: symbol
role_heading: Structure
path: endpointsecurity/es_event_exec_t
---

# es_event_exec_t

A type for an event that indicates the execution of a process.

## Declaration

```swift
struct es_event_exec_t
```

## Overview

Overview To get the process’ arguments, file descriptors, and environment variables from this type, use the following functions: Arguments — es_exec_arg(_:_:) and es_exec_arg_count(_:). Environment variables — es_exec_env(_:_:), and es_exec_env_count(_:). File descriptors — es_exec_fd(_:_:), es_exec_fd_count(_:).

## Topics

### Inspecting Event Properties

- [target](endpointsecurity/es_event_exec_t/target.md)
- [es_process_t](endpointsecurity/es_process_t.md)

### Instance Properties

- [cwd](endpointsecurity/es_event_exec_t/cwd-7pogi.md)
- [dyld_exec_path](endpointsecurity/es_event_exec_t/dyld_exec_path.md)
- [image_cpusubtype](endpointsecurity/es_event_exec_t/image_cpusubtype-4h1ft.md)
- [image_cputype](endpointsecurity/es_event_exec_t/image_cputype-9u2jr.md)
- [last_fd](endpointsecurity/es_event_exec_t/last_fd-g0rc.md)
- [reserved](endpointsecurity/es_event_exec_t/reserved-25qdu.md)
- [script](endpointsecurity/es_event_exec_t/script-19tlj.md)

## See Also

### Process Event Types

- [es_event_chdir_t](endpointsecurity/es_event_chdir_t.md)
- [es_event_chroot_t](endpointsecurity/es_event_chroot_t.md)
- [es_event_fork_t](endpointsecurity/es_event_fork_t.md)
- [es_event_proc_check_t](endpointsecurity/es_event_proc_check_t.md)
- [es_event_signal_t](endpointsecurity/es_event_signal_t.md)
- [es_event_exit_t](endpointsecurity/es_event_exit_t.md)
