[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] tools: Use os.system instead of exec to start xentop.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1197453869 0 # Node ID 7441ee9013bfc74eec0fc611decb9a8028d4f0be # Parent 38febeb3033fd57b9e26b66ceec9016e3cdc7291 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@xxxxxxxxxxxx> --- tools/python/xen/xm/main.py | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 38febeb3033f -r 7441ee9013bf tools/python/xen/xm/main.py --- a/tools/python/xen/xm/main.py Wed Dec 12 10:03:32 2007 +0000 +++ b/tools/python/xen/xm/main.py Wed Dec 12 10:04:29 2007 +0000 @@ -1833,7 +1833,7 @@ def xm_top(args): def xm_top(args): arg_check(args, "top", 0) - os.execvp('xentop', ['xentop']) + os.system('xentop') def xm_dmesg(args): arg_check(args, "dmesg", 0, 1) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |