Why julia exit from REPL?

Could be some weird customization in your environment or startup file. Did you change anything recently, eg