`-p exename` matches directories in addition to regular files #939

Closed
oleg-trott opened this Issue Jul 6, 2016 · 0 comments

Projects

None yet

1 participant

@oleg-trott

-p exename matches directories in addition to regular files. I ran into this issue.

I think that https://github.com/pypa/virtualenv/blob/master/virtualenv.py#L1563 should have "isfile" instead of "exists".

@Ivoz Ivoz added a commit that closed this issue Aug 5, 2016
@Ivoz Ivoz Test that we have an executable *file*
Fixes #939
bdef732
@Ivoz Ivoz closed this in bdef732 Aug 5, 2016
@Ivoz Ivoz added a commit that referenced this issue Aug 5, 2016
@Ivoz Ivoz Add changelog for #939 03a873c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment