Skip to content

Commit

Permalink
Merge pull request #241 from fieker/no_banner
Browse files Browse the repository at this point in the history
supress banner in oscar
  • Loading branch information
fieker authored Mar 25, 2020
2 parents 68f7882 + 9e7af02 commit 3ad7d65
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Polymake.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,11 @@ function __init__()
end

try
initialize_polymake(isinteractive())
if !isinteractive()
show_banner = isinteractive() &&
!any(x->x.name in ["Oscar"], keys(Base.package_locks))

initialize_polymake(show_banner)
if !show_banner
shell_execute(raw"$Verbose::credits=\"0\";")
end
catch ex # initialize_polymake throws jl_error
Expand Down

0 comments on commit 3ad7d65

Please sign in to comment.