From 7ad3afbdef96640e056eac062ba7dc3da8286553 Mon Sep 17 00:00:00 2001 From: Dustin Date: Sun, 5 Nov 2023 13:35:06 -0500 Subject: [PATCH] Update welcome.py Fixed an issue where the shell option in dialog failed to drop you back to bash. --- scripts/welcome.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/welcome.py b/scripts/welcome.py index 821e4f97..d7e0cf4c 100644 --- a/scripts/welcome.py +++ b/scripts/welcome.py @@ -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":