Skip to content

Commit e917b71

Browse files
committed
use color in precompilation output if parent process is using color
1 parent d3af973 commit e917b71

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

base/loading.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@ function create_expr_cache(input::AbstractString, output::AbstractString)
336336
io, pobj = open(detach(`$(julia_cmd())
337337
--output-ji $output --output-incremental=yes
338338
--startup-file=no --history-file=no
339+
--color=$(have_color ? "yes" : "no")
339340
--eval $code_object`), "w", STDOUT)
340341
try
341342
serialize(io, quote

0 commit comments

Comments
 (0)