venv-run icon indicating copy to clipboard operation
venv-run copied to clipboard

fix: error out for nonexistent or non-dir `--venv`

Open scop opened this issue 10 months ago • 0 comments

Previously, the bin dir of a given explicit venv was simply added to $PATH with no checks.

This may have caused unintended executables to be invoked when given a nonexistent or non-directory argument. Whatever might be in $PATH would have been run, with venv-run becoming essentially a no-op.

scop avatar Aug 13 '23 06:08 scop