Currently commands are printed as ['arg1', 'arg2', 'arg3']. Instead, log
them as '> arg1 arg2 arg3' so that it's simpler to copy and run them
manually. The reason behind prepending '> ' to these logs entries is
just to follow the practice followed by teuthology logs.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
args[0]
))
- log.info("Running {0}".format(args))
+ log.info('> ' +
+ ' '.join([str(a.value) if isinstance(a, Raw) else a for a in args]))
if shell:
subproc = subprocess.Popen(quote(args),