Skip to content

Commit 1f99ee9

Browse files
authored
Document file descriptors in run (#45710)
1 parent 18c7e37 commit 1f99ee9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

base/process.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,9 @@ Run a command object, constructed with backticks (see the [Running External Prog
464464
section in the manual). Throws an error if anything goes wrong, including the process
465465
exiting with a non-zero status (when `wait` is true).
466466
467+
The `args...` allow you to pass through file descriptors to the command, and are ordered
468+
like regular unix file descriptors (eg `stdin, stdout, stderr, FD(3), FD(4)...`).
469+
467470
If `wait` is false, the process runs asynchronously. You can later wait for it and check
468471
its exit status by calling `success` on the returned process object.
469472

0 commit comments

Comments
 (0)