Skip to content

Commit

Permalink
Make python -m pip work in cli runner even if we haven't sourced pyod…
Browse files Browse the repository at this point in the history
…ide venv
  • Loading branch information
hoodmane committed Feb 22, 2025
1 parent 4b301a0 commit 89cbe58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/templates/python
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ EOF
set -e
if [[ $1 == "-m" ]] && [[ $2 == "pip" ]]; then
# redirect python -m pip to execute in host environment
shift 1
exec $@
shift 2
exec $(dirname $0)/pip $@
fi

which node > /dev/null || { \
Expand Down

0 comments on commit 89cbe58

Please sign in to comment.