diff options
Diffstat (limited to 'Demo/pysvr')
-rwxr-xr-x | Demo/pysvr/pysvr.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/pysvr/pysvr.py b/Demo/pysvr/pysvr.py index dd0abdc..3b692b3 100755 --- a/Demo/pysvr/pysvr.py +++ b/Demo/pysvr/pysvr.py @@ -108,7 +108,7 @@ def run_command(code, stdin, stdout, globals): sys.stdout = sys.stderr = stdout sys.stdin = stdin try: - exec code in globals + exec(code, globals) except SystemExit, how: raise SystemExit, how, sys.exc_info()[2] except: |