Update welcome.py

Fixed an issue where the shell option in dialog failed to drop you back to bash.
pull/2314/head
Dustin 6 months ago committed by GitHub
parent 0e18762b36
commit 7ad3afbdef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -438,7 +438,8 @@ Images and projects are located in /opt/gns3
self.display.clear()
if code == Dialog.OK:
if tag == "Shell":
os.execvp("bash", ['/bin/bash'])
print("Type: 'welcome.py' to get back to the dialog menu.")
sys.exit(0)
elif tag == "Version":
self.mode()
elif tag == "Restore":

Loading…
Cancel
Save