Work around for cwd stat problems with run_command and sudo

This fixes issue #6443
pull/6451/head
Dan Koch 11 years ago
parent 2c7d58abe0
commit bbf320fd22

@ -1074,6 +1074,8 @@ class AnsibleModule(object):
try:
if cwd:
os.chdir(cwd)
cmd = subprocess.Popen(args, **kwargs)
if data:

Loading…
Cancel
Save