Hello! Not sure if I'm using the "request" prefix right, so just lemme know if I need to change it!
So I'm trying to create a basic security system. Ask for a password, if you get it wrong too often, it locks you out. If I find out someone's trying to gain access, it locks you out. If I feel like being slightly more secure today, it locks you out.
Currently, my system has two tabs running. One is waiting for a user to input a password attempt. The other is waiting for me to activate a remote lockdown. My issue comes in when I actually issue that remote lockdown. The program doesn't change tabs when executing the lockdown, so it ends up locking the second tab and not the password tab. How can I code it so that, from the second tab, I can run a shell.run("program") in the first, interrupting the password program?
Thank you for reading, and let me know if you'd like to see the code. I've got pastebin links and I'm not afraid to share them!
So I'm trying to create a basic security system. Ask for a password, if you get it wrong too often, it locks you out. If I find out someone's trying to gain access, it locks you out. If I feel like being slightly more secure today, it locks you out.
Currently, my system has two tabs running. One is waiting for a user to input a password attempt. The other is waiting for me to activate a remote lockdown. My issue comes in when I actually issue that remote lockdown. The program doesn't change tabs when executing the lockdown, so it ends up locking the second tab and not the password tab. How can I code it so that, from the second tab, I can run a shell.run("program") in the first, interrupting the password program?
Thank you for reading, and let me know if you'd like to see the code. I've got pastebin links and I'm not afraid to share them!