Closed jypeter closed 2 months ago
Hey @jypeter, the behavior with relative paths is intended. In linux convention, relative paths are assumed to be w.r.t the cwd.
Also, prepending the environments' paths would lead to correctness issues. For example, bin/clean may be used by two different packages installed in two different environments.
If you want to make your extension more foolproof, you could check if the path supplied by the user is absolute before looking for the file
On the other hand, you could also:
lib
,share
,bin
, ...