diff -r 202aa9125749 -r 51712ef0d573 src/python/m5/main.py --- a/src/python/m5/main.py Thu Feb 07 12:35:42 2013 +0100 +++ b/src/python/m5/main.py Thu Feb 07 12:36:06 2013 +0100 @@ -129,10 +129,9 @@ 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)