How can I keep a GLMakie window open?

I switched from PythonPlot to GLMakie, and in PythonPlot, I could do:

plt.show(block=true)

at the end of a script that is run from the command line (not from the REPL) to keep the plot window open until the user closes it. Only when the user closes it should the script terminate. How can I achieve that with GLMakie?

wait(display(fig)) should block while the window is open