2022-02-20 02:13:33 +01:00
|
|
|
---
|
|
|
|
title: run-external
|
|
|
|
layout: command
|
|
|
|
version: 0.59.0
|
|
|
|
---
|
|
|
|
|
|
|
|
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"
|
|
|
|
```
|