# exec

> Replace the current process with another process.
> More information: <https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#exec>.

- Replace with the specified command using the current environment variables:

`exec {{command -with -flags}}`
