ongardie / cubicle

Manage isolated development environments
MIT License
13 stars 3 forks source link

`script_path` busted on Mac #26

Closed ongardie closed 1 year ago

ongardie commented 1 year ago

From https://doc.rust-lang.org/std/env/fn.current_exe.html#platform-specific-behavior:

If the executable was invoked through a symbolic link, some platforms will return the path of the symbolic link and other platforms will return the path of the symbolic link’s target.

Better make this more obvious, more resilient, and configurable.

cc @darrengarvey

darrengarvey commented 1 year ago

Great that works. I'm in (a cubicle). 🎉