2022-02-20 02:13:33 +01:00
|
|
|
---
|
|
|
|
title: run-external
|
|
|
|
layout: command
|
2022-03-04 13:10:09 +01:00
|
|
|
version: 0.59.1
|
2022-02-20 02:13:33 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
Runs external command
|
|
|
|
|
|
|
|
## Signature
|
|
|
|
|
2022-02-22 14:11:46 +01:00
|
|
|
```> run-external ...rest --redirect-stdout --redirect-stderr```
|
2022-02-20 02:13:33 +01:00
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
- `...rest`: external command to run
|
2022-02-22 14:11:46 +01:00
|
|
|
- `--redirect-stdout`: redirect-stdout
|
|
|
|
- `--redirect-stderr`: redirect-stderr
|
2022-02-25 14:14:15 +01:00
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
Run an external command
|
|
|
|
```shell
|
|
|
|
> run-external "echo" "-n" "hello"
|
|
|
|
```
|