diff --git a/docs/src/usage.md b/docs/src/usage.md index 43867c590..2b8ebe49d 100644 --- a/docs/src/usage.md +++ b/docs/src/usage.md @@ -111,11 +111,10 @@ using Test @testset "hello" begin n = 2 # number of processes - mpiexec() do exe # MPI wrapper - run(`$exe -n $n $(Base.julia_cmd()) [...]/01-hello.jl`) - # alternatively: - # p = run(ignorestatus(`...`)) - # @test success(p) + run(`$(mpiexec()) -n $n $(Base.julia_cmd()) [...]/01-hello.jl`) + # alternatively: + # p = run(ignorestatus(`$(mpiexec()) ...`)) + # @test success(p) end end ```