How to pass ARG containing parentheses to aws ecs execute-command using python subprocess.run?
Goal: Use the aws cli in a subprocess.run
call to execute a command in a container of a running task.
Example Usage: aws ecs execute-command --command "python -m task.function {arg}" --interactive --task {task_arn} --container Container
Encountered Error: /bin/sh: 1: Syntax error: "(" unexpected