When I run `my_script.lua` on a pad, and there is a `while true do ... end` sentence in the script, how can I kill this process?
In the real world, we use `ctrl+c` or `ctrl+d` but they are not working here.
If it is running on a turtle, I can dig the turtle to stop the program, but when it is running on a labeled pad, it seems I can do nothing about it...
0
2 replies to this topic
#1
Posted 20 January 2020 - 07:12 AM
#2
Posted 20 January 2020 - 10:32 AM
Ctrl+t should work after a few seconds of holding the key combination. Otherwise you can place the pocket pc in an inventory and it will eventually turn off.
#3
Posted 20 January 2020 - 12:22 PM
If Ctrl + T doesn't work, there's also Ctrl + S for shutdown and Ctrl + R for reboot, these should work everytime.
Also iirc putting a pocket computer in a disk drive turns it off.
Also iirc putting a pocket computer in a disk drive turns it off.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users