Skip to content

Commit

Permalink
julia -> Base.julia_cmd()
Browse files Browse the repository at this point in the history
Co-authored-by: Benjamin Lorenz <benlorenz@users.noreply.github.com>
  • Loading branch information
joschmitt and benlorenz authored Aug 30, 2023
1 parent c09de4c commit 7af4c60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/docs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ function start_doc_preview_server(;open_browser::Bool = true, port::Int = 8000)
using LiveServer;
LiveServer.serve(dir = "$build_dir", launch_browser = $open_browser, port = $port);
"""
live_server_process = run(`julia -e $cmd`, wait = false)
live_server_process = run(`$(Base.julia_cmd()) -e $cmd`, wait = false)
atexit(_ -> kill(live_server_process))
@info "Starting server with PID $(getpid(live_server_process)) listening on 127.0.0.1:$port"
return nothing

Check warning on line 126 in src/utils/docs.jl

View check run for this annotation

Codecov / codecov/patch

src/utils/docs.jl#L123-L126

Added lines #L123 - L126 were not covered by tests
Expand Down

0 comments on commit 7af4c60

Please sign in to comment.