From 3549421d6ee6987cc844118e6a947eda60710b9f Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Tue, 2 Dec 2014 19:06:33 -0800 Subject: [PATCH] orchestra/run.py: document use of Raw() Signed-off-by: Dan Mick --- teuthology/orchestra/run.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/teuthology/orchestra/run.py b/teuthology/orchestra/run.py index 6f7f54889d..fc4502ea33 100644 --- a/teuthology/orchestra/run.py +++ b/teuthology/orchestra/run.py @@ -290,7 +290,10 @@ def run( name=None ): """ - Run a command remotely. + Run a command remotely. If any of 'args' contains shell metacharacters + that you want to pass unquoted, pass it as an instance of Raw(); otherwise + it will be quoted with pipes.quote() (single quote, and single quotes + enclosed in double quotes). :param client: SSHConnection to run the command with :param args: command to run -- 2.39.5