From 1f99ee9783f11a474fccaf333ec90f4af05573cc Mon Sep 17 00:00:00 2001 From: Oscar Smith Date: Tue, 21 Jun 2022 11:45:38 -0400 Subject: [PATCH] Document file descriptors in `run` (#45710) --- base/process.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/base/process.jl b/base/process.jl index aa378e72b2dce..42bf6335b071c 100644 --- a/base/process.jl +++ b/base/process.jl @@ -464,6 +464,9 @@ Run a command object, constructed with backticks (see the [Running External Prog section in the manual). Throws an error if anything goes wrong, including the process exiting with a non-zero status (when `wait` is true). +The `args...` allow you to pass through file descriptors to the command, and are ordered +like regular unix file descriptors (eg `stdin, stdout, stderr, FD(3), FD(4)...`). + If `wait` is false, the process runs asynchronously. You can later wait for it and check its exit status by calling `success` on the returned process object.