Closed rqpt closed 5 days ago
Why not submit your code snipped as a PR to fix that instead of only opening an issue?
Why not submit your code snipped as a PR to fix that instead of only opening an issue?
I was going to, but life happens and your attention is needed elsewhere sometimes.
Also, did you read my closing paragraph? I don't have a fix for this yet. I noticed it's broken and intend to fix it, just not this very second.
Sail Version
1.26
Laravel Version
11.30.0
PHP Version
8.3.11
Operating System
Linux
OS Version
Alpine Edge
Description
The
sail open
command does not work, due to a mysterious dependency on some url open utility that might or might not even exist. Said utility is simply called ... "open" 👀The offending code is at the veeeeeery bottom of the sail script: (line 560 at the time of writing)
What is this 'open' executable? I don't have it, and haven't heard of it? It isn't in my package manager. Doubt.
EDIT: It seems open is in fact a thing, lol... just not on linux 😿
I'll try to submit a fix for this hopefully soon, but if someone takes this before me - I think an xdg-open should do.
Steps To Reproduce
sail open
/vendor/laravel/sail/bin/sail: line 572: open: command not found