diff --git a/molecule/utils.py b/molecule/utils.py index b9bab3f..cbb98c1 100644 --- a/molecule/utils.py +++ b/molecule/utils.py @@ -97,7 +97,7 @@ def eval_shell_argument(argument, env = None): fcntl.fcntl(read, fcntl.F_SETFL, os.O_NONBLOCK) exit_st = subprocess.call( [shell_exec, "-c", - "printf \"" + argument + "\""], + "printf '%s' \"" + argument + "\""], env = env, stdout = write) if exit_st != 0: raise AttributeError(