nushell/docs/commands/run-external.md

386 B

title layout version
run-external command 0.59.0

Runs external command

Signature

> run-external ...rest --redirect-stdout --redirect-stderr

Parameters

  • ...rest: external command to run
  • --redirect-stdout: redirect-stdout
  • --redirect-stderr: redirect-stderr

Examples

Run an external command

> run-external "echo" "-n" "hello"