Skip to content
Sign upLog in
← Back to Community

Any way to reboot a Repl?

Profile icon
MelissaVuong2

image

When more than one person tries to run a Repl, it's like the project freezes and it can't be run any longer. Anyone know a way to completely "reboot" a Repl shared by other people?

Answered by Highwayman [earned 5 cycles]
View Answer
Voters
Profile icon
shkeffy
Profile icon
OnealWang
Profile icon
ripley
Profile icon
AnihiGG
Profile icon
4lita
Profile icon
Zeming
Profile icon
OliverChen1
Profile icon
MelissaVuong2
Comments
hotnewtop
Profile icon
Highwayman
busybox reboot
Profile icon
MelissaVuong2

@Highwayman
Wait, how do you do that?

Profile icon
Highwayman

In the bottom left corner of the ide screen, you can see a little icon shaped like a circle with a question mark in it. If you click on that icon, a little menu will appear. Type the word “shell” in and an option called “open shell” or somthing will appear. Click it. Once you have this shell, type in the command "busybox reboot"; this should reboot your repl. Occasionally the normal ide terminal is also a repl. You can type the command in there instead and it should work(it might not tho because the terminal might be a python repl instead of a bash repl)

@MelissaVuong2

Profile icon
MelissaVuong2

@Highwayman

This was just what I was looking for. Thank you!

Profile icon
Highwayman

yw :)

@MelissaVuong2

Profile icon
shkeffy

@Highwayman
kill 1 works as well.

Profile icon
Highwayman

@shkeffy
true. probably even works better- that's what replit docs use, right?

Profile icon
shkeffy

@Highwayman
Yes it is.

Profile icon
CrazyCoder9

is there any way to restart a repl from a javascript file?

Profile icon
Subdev

is there any way to restart a repl.it from a python file itself I am building a bot and using repl.it to host it and I was wondering if I could just type a command to restart the bot?

Profile icon
mrman314

@Subdev

from os import system system("busybox reboot")
Profile icon
SixBeeps

You could try forking the Repl and deleting the old one.