cyberdummy/gulp-composer

composer error on Windows

Closed this issue · 2 comments

WINDOWS 7:

If I run the composer-command on windows, the php in front of c:/.....composer.phar is missing.
So Windows starts a popup to search the web for an Application which can handle .phar files.

php is added to the PATH-Variable and I can run php c:/...composer.phar on cmd.exe without any Problem.
Seems the bug is inside of gulp-composer cause of missing to set the "php" in front of the composer command.

On Linux, same Script work like a charm.

Have you tried using the bin option? Something like

 composer({
        "bin":          "php C:/...composer.phar"
  });

I do set the bin-parameter, but without php in front of it.
On Linux, it works like a charm, even if there is no asignment to execute all .php-Files with php.

Strange, isn't it?
Now I set the php-prefix to the bin: Parameter and it seems to work on windows.