diff options
author | Eric Windisch <eric@cloudscaling.com> | 2011-02-27 20:57:13 -0500 |
---|---|---|
committer | Eric Windisch <eric@cloudscaling.com> | 2011-02-27 20:57:13 -0500 |
commit | 90abcdc7ae9e3f855dadb1ccc88892a2cc7bab05 (patch) | |
tree | 3670f6c30f6310ebac89a632b2ccc92c116d8212 | |
parent | 953efce36b74c18a32ef9c42e6b1a57190e3ff6e (diff) | |
download | nova-90abcdc7ae9e3f855dadb1ccc88892a2cc7bab05.tar.gz nova-90abcdc7ae9e3f855dadb1ccc88892a2cc7bab05.tar.xz nova-90abcdc7ae9e3f855dadb1ccc88892a2cc7bab05.zip |
execvp
-rw-r--r-- | nova/console/xvp.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nova/console/xvp.py b/nova/console/xvp.py index cd257e0a6..271dffa54 100644 --- a/nova/console/xvp.py +++ b/nova/console/xvp.py @@ -133,10 +133,10 @@ class XVPConsoleProxy(object): return logging.debug(_("Starting xvp")) try: - utils.execute('xvp -p %s -c %s -l %s' % - (FLAGS.console_xvp_pid, - FLAGS.console_xvp_conf, - FLAGS.console_xvp_log)) + utils.execute('xvp', + '-p',FLAGS.console_xvp_pid, + '-c',FLAGS.console_xvp_conf, + '-l',FLAGS.console_xvp_log) except exception.ProcessExecutionError, err: logging.error(_("Error starting xvp: %s") % err) @@ -190,5 +190,5 @@ class XVPConsoleProxy(object): flag = '-x' #xvp will blow up on passwords that are too long (mdragon) password = password[:maxlen] - out, err = utils.execute('xvp %s' % flag, process_input=password) + out, err = utils.execute('xvp', flag, process_input=password) return out.strip() |