From 293567e9d58a2ff841d37ad18fb1ed90ccb71fb3 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Mon, 2 Apr 2018 08:24:17 +0000 Subject: [PATCH] ansible: fix low_level_execute_command regression. --- ansible_mitogen/helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible_mitogen/helpers.py b/ansible_mitogen/helpers.py index 270f3244..20f69c19 100644 --- a/ansible_mitogen/helpers.py +++ b/ansible_mitogen/helpers.py @@ -215,9 +215,9 @@ def exec_command(cmd, in_data='', chdir=None, shell=None): (return code, stdout bytes, stderr bytes) """ assert isinstance(cmd, basestring) - return _exec_command( + return exec_args( args=[get_user_shell(), '-c', cmd], - in_data=in_Data, + in_data=in_data, chdir=chdir, shell=shell, )