From 2c9985fe90984a3b97bca52785bcb2d6bafef312 Mon Sep 17 00:00:00 2001 From: Lilith Orion Hafner Date: Sat, 23 Nov 2024 18:31:10 -0600 Subject: [PATCH 1/2] fix typo in `@cmd` docstring --- base/cmd.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/cmd.jl b/base/cmd.jl index 84ec52f865e98..725b809ee1aaa 100644 --- a/base/cmd.jl +++ b/base/cmd.jl @@ -491,7 +491,7 @@ end """ @cmd str -Similar to `cmd`, generate a `Cmd` from the `str` string which represents the shell command(s) to be executed. +Similar to `Cmd`, generate a `Cmd` from the `str` string which represents the shell command(s) to be executed. The [`Cmd`](@ref) object can be run as a process and can outlive the spawning julia process (see `Cmd` for more). # Examples From a0dd6d3800e6fedb9f9c8410c915a54a0e9b44bf Mon Sep 17 00:00:00 2001 From: Lilith Orion Hafner Date: Sat, 23 Nov 2024 19:30:13 -0600 Subject: [PATCH 2/2] Use ``` `str` ``` instead of `Cmd` --- base/cmd.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/cmd.jl b/base/cmd.jl index 725b809ee1aaa..b46c8293cdf3c 100644 --- a/base/cmd.jl +++ b/base/cmd.jl @@ -491,7 +491,7 @@ end """ @cmd str -Similar to `Cmd`, generate a `Cmd` from the `str` string which represents the shell command(s) to be executed. +Similar to ``` `str` ```, generate a `Cmd` from the `str` string which represents the shell command(s) to be executed. The [`Cmd`](@ref) object can be run as a process and can outlive the spawning julia process (see `Cmd` for more). # Examples