-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vendor/bin/pomm.php is not a php script? #67
Comments
Simply entering |
Well, we encourage windows users to report such feedback because none of use use Microsoft’s OS. On Unix like OSs, composer creates the symbolic link This said, I have no idea why the script is not interpreted when called with the PHP CLI because there is the Any clue from other Windows users ? |
@chanmix51 but there is no php tag - the contents of the file installed in
It's not a PHP script, obviously - it's named ".php", but it's clearly a shell-script? |
Ok, that seems to be the composer trick to circumvent the lack of symbolic link in Windows. Agree with you, the script as auto executable should not have an extension. This is not something we can really change now as it is not really a bug and this might create regression issues with scripts using this CLI tool. What do you think ? |
I have added a note on pomm project’s website about this. Is there something else we can do ? |
Can we close this ticket ? |
Flag for 3.0 maybe? |
Wouldn't have thought about this, thank you. |
@chanmix51 a solution could be to provide a new Btw, this issue should be moved to https://github.com/pomm-project/Cli |
I've installed Pomm 2, as per instructions in "Quick Setup 2.0" on the homepage.
The installed
vendor/bin/pomm.php
is not a PHP script - it appears to contain a shell script?As per that page, if I enter
php vendor/bin/pomm.php
, it simply outputs the contents of the shell script.I'm on Windows, but I use Git Bash, so I am generally able to run most simple shell scripts.
The text was updated successfully, but these errors were encountered: