diff options
-rw-r--r-- | src/python/m5/main.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/python/m5/main.py b/src/python/m5/main.py index ce2979cd2..03fab9901 100644 --- a/src/python/m5/main.py +++ b/src/python/m5/main.py @@ -129,10 +129,9 @@ def parse_options(): def interact(scope): banner = "gem5 Interactive Console" - sys.argv = [] try: from IPython.Shell import IPShellEmbed - ipshell = IPShellEmbed(banner=banner,user_ns=scope) + ipshell = IPShellEmbed(argv=[], banner=banner, user_ns=scope) ipshell() except ImportError: code.InteractiveConsole(scope).interact(banner) |