debuggers.hg
changeset 16623:7441ee9013bf
tools: Use os.system instead of exec to start xentop.
This makes no difference to the visible behaviour of "xm top" but
avoids the whole of xm from quitting if you're in "xm shell". This
provides the more intuitive behaviour of returning to the xm shell
interface after leaving xm top.
Signed-off-by: Mark Williamson <mark.williamson@cl.cam.ac.uk>
This makes no difference to the visible behaviour of "xm top" but
avoids the whole of xm from quitting if you're in "xm shell". This
provides the more intuitive behaviour of returning to the xm shell
interface after leaving xm top.
Signed-off-by: Mark Williamson <mark.williamson@cl.cam.ac.uk>
author | Keir Fraser <keir.fraser@citrix.com> |
---|---|
date | Wed Dec 12 10:04:29 2007 +0000 (2007-12-12) |
parents | 38febeb3033f |
children | e502e8308e46 |
files | tools/python/xen/xm/main.py |
line diff
1.1 --- a/tools/python/xen/xm/main.py Wed Dec 12 10:03:32 2007 +0000 1.2 +++ b/tools/python/xen/xm/main.py Wed Dec 12 10:04:29 2007 +0000 1.3 @@ -1833,7 +1833,7 @@ def xm_debug_keys(args): 1.4 def xm_top(args): 1.5 arg_check(args, "top", 0) 1.6 1.7 - os.execvp('xentop', ['xentop']) 1.8 + os.system('xentop') 1.9 1.10 def xm_dmesg(args): 1.11 arg_check(args, "dmesg", 0, 1)