diff options
Diffstat (limited to 'tools/scripts/awx-python')
-rwxr-xr-x | tools/scripts/awx-python | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/scripts/awx-python b/tools/scripts/awx-python new file mode 100755 index 0000000000..f45c27bb80 --- /dev/null +++ b/tools/scripts/awx-python @@ -0,0 +1,9 @@ +#!/bin/bash + +# Enable Tower virtualenv +if [ -f /var/lib/awx/venv/awx/bin/activate ]; then + . /var/lib/awx/venv/awx/bin/activate +fi + +# Run the requested Python command, using the interpreter from the path +exec python "$@" |