Why process = subprocess.Popen(command, stdout=subprocess.PIPE) is not working for such command?
['docker', 'exec', 'hungry_keller', 'bash', '-c', ' ""ls -l""] docker exec hungry_keller bash -c "ls -l"
and returns: No such file or directory
subprocess.check_output returns the same error.
but in terminal it executes correctly. More simple commands are working fine.