Skip to content

Commit

Permalink
use color in precompilation output if parent process is using color
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Oct 8, 2015
1 parent d3af973 commit e917b71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions base/loading.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e917b71

Please sign in to comment.