Creating pop-up terminal for bash script in python -
so following bit of novice code serves purpose problem being bash script runs within terminal i'm using run rest of python script, if can find way have script run in new terminal without closing when done, appreciate it. thanks.
elif request.lower() == "request arpscan": print("would run ""arpscan""?") arpscananswer = input('>>') if arpscananswer.lower() == "yes": subprocess.popen("/badmuffin/scripts/arpscanall") print("success, moving hub")
Comments
Post a Comment