Skip to content

Commit c0f623d

Browse files
authored
Small fix to running-external-programs.md (#50220)
The `run` method no longer throws an `ErrorException` on failure. It currently throws a `ProcessFailedException`.
1 parent d138701 commit c0f623d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/manual/running-external-programs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ hello
4141
```
4242

4343
The `hello` is the output of the `echo` command, sent to [`stdout`](@ref). If the external command fails to run
44-
successfully, the run method throws an [`ErrorException`](@ref).
44+
successfully, the run method throws an [`ProcessFailedException`](@ref).
4545

4646
If you want to read the output of the external command, [`read`](@ref) or [`readchomp`](@ref)
4747
can be used instead:

0 commit comments

Comments
 (0)