forked from extern/nushell
8c0a2d3c15
* Finish updating * a couple improvements * Update renames * cleanup examples
30 lines
381 B
Markdown
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
|
|
```
|
|
|