run-external
for system> run-external {flags} (command) ...rest
--redirect-stdout, -
: redirect stdout to the pipeline--redirect-stderr, -
: redirect stderr to the pipeline--redirect-combine, -
: redirect both stdout and stderr combined to the pipeline (collected in stdout)--trim-end-newline, -
: trimming end newlinescommand
: external command to run...rest
: arguments for external commandinput | output |
---|---|
any | any |
Run an external command
>run-external"echo""-n""hello"
Redirect stdout from an external command into the pipeline
>run-external--redirect-stdout"echo""-n""hello"|split chars
Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/run-external.html