Skip to content

Commit bc53671

Browse files
committed
fix
1 parent 8fa50c8 commit bc53671

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/DocumentationGenerator.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ function start_builder(package, version;
316316
Pkg.add("Pkg")
317317
## api_url needs to be set to "-", since empty string should not be passed as CLI argument
318318
cmd = ```
319-
setsid $(juliacmd)
319+
$(juliacmd)
320320
--project=$(Base.active_project())
321321
--color=no
322322
$workerfile

src/utils/runners.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ function run_with_timeout(
1818
kill_timeout = 60,
1919
max_timeout = 3 * 60 * 60,
2020
)
21+
pushfirst!(command.exec, "setsid")
2122
@info ">> starting" command timeout kill_timeout max_timeout
2223

2324
print_interval = 60 / wait_time

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const julia = first(Base.julia_cmd())
1616
write("$tempfile", "hi")
1717
sleep(3)
1818
"""
19-
proc, _ = DocumentationGenerator.run_with_timeout(`setsid $julia -e $str`, timeout=7)
19+
proc, _ = DocumentationGenerator.run_with_timeout(`$julia -e $str`, timeout=7)
2020
wait(proc)
2121
@test !isfile(tempfile)
2222
end

0 commit comments

Comments
 (0)