nushell/docs/commands/exec.md
JT 8c0a2d3c15
Auto-generate markdown command docs (#4451)
* Finish updating

* a couple improvements

* Update renames

* cleanup examples
2022-02-13 21:22:51 -05:00

30 lines
381 B
Markdown

---
title: exec
layout: command
version: 0.59.0
---
Execute a command, replacing the current process.
## Signature
```> exec (command) ...rest```
## Parameters
- `command`: the command to execute
- `...rest`: any additional arguments for the command
## Examples
Execute external 'ps aux' tool
```shell
> exec ps aux
```
Execute 'nautilus'
```shell
> exec nautilus
```