From e917b71b06ad2bb353376a8316c9ad47363fbd26 Mon Sep 17 00:00:00 2001 From: "Steven G. Johnson" Date: Thu, 8 Oct 2015 11:11:19 -0400 Subject: [PATCH] use color in precompilation output if parent process is using color --- base/loading.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/base/loading.jl b/base/loading.jl index b5b05e23b9ef5..0aeda4c3cac88 100644 --- a/base/loading.jl +++ b/base/loading.jl @@ -336,6 +336,7 @@ function create_expr_cache(input::AbstractString, output::AbstractString) io, pobj = open(detach(`$(julia_cmd()) --output-ji $output --output-incremental=yes --startup-file=no --history-file=no + --color=$(have_color ? "yes" : "no") --eval $code_object`), "w", STDOUT) try serialize(io, quote